Page 2 of 2 FirstFirst 1 2
Results 11 to 16 of 16

Thread: Has the creature Lightning Spell changed?

  
  1. #11

    Default Re: Has the creature Lightning Spell changed?

    EDIT 2

    Ok it looks like the StrengthIncreaseOnExp is actually not being used to calculate mellee damage. I was playing about with some values and found that even with stupid values like:

    ; Percentage of creature damage increase for every experience level
    DamageIncreaseOnExp = 0
    ...
    ; Percentage of creature strength increase for every experience level
    StrengthIncreaseOnExp = 2000
    A Level 3 Bile Demon would, without fail, have to hit a Braced Door 10 times to break it (I tested on Deeper Dungeon's Kanasko as a quick test) unless the DamageIncreaseOnExp was upped (In which case the damage would scale regardless of the value of StrengthIncreaseOnExp). As such, the mellee damage would only increase by 20% instead of the default 35%

    Is this intentional? Isn't the mellee attack meant to use the base strength in its calculations?

    Let me know if I should raise this as a bug
    Last edited by Mullertime; March 22nd, 2014 at 23:56.

  2. #12
    KeeperFX Author mefistotelis's Avatar
    Join Date
    Sep 2009
    Location
    Poland
    Posts
    1,242

    Default Re: Has the creature Lightning Spell changed?

    Quote Originally Posted by Mullertime View Post
    Ok it looks like the StrengthIncreaseOnExp is actually not being used to calculate mellee damage.
    You are right, I did a mistake in the code.

    I will fix it today, so it will be used in nightly build tomorrow.

  3. #13

    Default Re: Has the creature Lightning Spell changed?

    Thank you mefistotelis

    Will the DamageIncreaseOnExp stack with StrengthIncreaseOnExp for mellee as described earlier?

  4. #14
    KeeperFX Author mefistotelis's Avatar
    Join Date
    Sep 2009
    Location
    Poland
    Posts
    1,242

    Default Re: Has the creature Lightning Spell changed?

    Quote Originally Posted by Mullertime View Post
    Will the DamageIncreaseOnExp stack with StrengthIncreaseOnExp for mellee as described earlier?
    Yes.

    The algorithm first computes strength based on level number, then uses it to compute damage (based on level number, but also luck).

  5. #15

    Default Re: Has the creature Lightning Spell changed?

    Works an absolute treat! Thank you

    Good call splitting the values

  6. #16

    Default Re: Has the creature Lightning Spell changed?

    Just found why the lightning spell was so vicious and how it managed to clear huge swathes of enemies:

    It has Area of Effect, for some reason... if you set the AreaDamage to the following (in the magic file in fxdata): It will stop it acting as AoE

    HitType = 2
    AreaDamage = 0 0 0
    Speed = 256
    It's set on the trap too

Similar Threads

  1. Replies: 8
    Last Post: June 12th, 2014, 23:00
  2. Custom Creature Spell for a map
    By Cruento in forum DK1 Mapmaking
    Replies: 0
    Last Post: February 26th, 2013, 11:11
  3. Replies: 37
    Last Post: April 3rd, 2011, 00:05

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
  •