Results 1 to 8 of 8

Thread: Should lightning traps be AoE?

  
  1. #1

    Default Should lightning traps be AoE?

    Ok, this one's not me this time!

    Something I stumbled upon whilst running a folder comparison, taken from the latest 0_4_6 unofficial release. In the magic.cfg file:

    Code:
    [shot29]
    Name = SHOT_TRAP_LIGHTNING
    Health = 64
    Damage = 16
    DamageType = Electric
    HitType = 4
    AreaDamage = 6 160 2
    Speed = 0
    If I understand those numbers correctly, doesn't the HitType and AreaDamage values give the lightning trap splash damage? This looks incorrect, as not even Word of Power has both direct damage and splash damage. If memory serves from 0_4_4, many of the lightning spells had AoE values assigned to them from the original DK but never actually worked (so it wasn't noticeable in the DOS versions). It was only when Keeper FX fixed the logic that lightning spells inadvertently became AoE (Mistresses with AoE... Imagine the horror). The ones from the earlier versions I've been rocking have:

    Code:
    HitYpe = 2
    AreaDamage = 0 0 0
    Last edited by Mullertime; July 21st, 2019 at 16:32. Reason: Clarifications

  2. #2

    Default Re: Should lightning traps be AoE?

    Does this commit fix your issue? If so, why don't you give the beta of the next version a try.

  3. #3
    Demon Spawn Endrix's Avatar
    Join Date
    Nov 2009
    Posts
    181

    Default Re: Should lightning traps be AoE?

    Why HitType = 2 ?

  4. #4

    Default Re: Should lightning traps be AoE?

    I did not change the hittype.

  5. #5
    Demon Spawn Endrix's Avatar
    Join Date
    Nov 2009
    Posts
    181

    Default Re: Should lightning traps be AoE?

    Yes but Mullertime

    Quote Originally Posted by Mullertime View Post
    Code:
    HitYpe = 2
    AreaDamage = 0 0 0

    So ? :

    [shot29]
    Name = SHOT_TRAP_LIGHTNING
    Health = 64
    Damage = 16
    DamageType = Electric
    HitType = 4
    AreaDamage = 0 0 0
    Speed = 0



    Why have it Health = 64 ?

  6. #6

    Default Re: Should lightning traps be AoE?

    That's the distance it shoots.

  7. #7

    Default Re: Should lightning traps be AoE?

    Aaaaaah you had already caught it ages ago Thanks YourMaster! That does indeed fix it (I just wasn't sure if it had been spotted)

    @Endrix - Ah no special reason for HitType2 other than an educated guess based upon what other single-target spells had (like the creature lightning spell) - I wasn't sure if 4 was AoE only (but thank you for the new blurb in the property file, YourMaster, that's super useful!) - We can ignore that bit I was just pasting the settings I had been rolling with which appeared to give the expected behaviour.

    Thanks guys!
    Last edited by Mullertime; July 25th, 2019 at 09:32.

  8. #8

    Default Re: Should lightning traps be AoE?

    Quote Originally Posted by Mullertime View Post
    That does indeed fix it .
    [...]
    (but thank you for the new blurb in the property file, YourMaster, that's super useful!)
    Good. And yes, it's the little things that make our lives so much better.

Similar Threads

  1. Lightning traps hurt allies
    By Hades in forum KeeperFX
    Replies: 1
    Last Post: August 30th, 2014, 23:43
  2. Has the creature Lightning Spell changed?
    By Mullertime in forum KeeperFX
    Replies: 15
    Last Post: March 25th, 2014, 23:01
  3. Lightning/Drain is still bugged on version 0.39
    By Keeper_Infernal in forum KeeperFX
    Replies: 5
    Last Post: June 21st, 2011, 07:47
  4. Lightning and Drain - Bugged?
    By psycopath in forum KeeperFX
    Replies: 36
    Last Post: May 22nd, 2011, 05:42
  5. Replies: 8
    Last Post: January 23rd, 2011, 09:20

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •