diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-04-18 04:59:19 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-04-18 04:59:19 -0300 |
commit | 19cd07ea66674ad9f8f7557e46c6337c6057f234 (patch) | |
tree | 4a455b5f3fc461506e17610105a716a134490a78 /npc | |
parent | cc5a301c085067a6988b849551d2c236625f7aae (diff) | |
download | serverdata-19cd07ea66674ad9f8f7557e46c6337c6057f234.tar.gz serverdata-19cd07ea66674ad9f8f7557e46c6337c6057f234.tar.bz2 serverdata-19cd07ea66674ad9f8f7557e46c6337c6057f234.tar.xz serverdata-19cd07ea66674ad9f8f7557e46c6337c6057f234.zip |
Force confringo to never deal less than INT damage. With randomness.
Diffstat (limited to 'npc')
-rw-r--r-- | npc/magic/level0-wand.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/npc/magic/level0-wand.txt b/npc/magic/level0-wand.txt index 744d1653..d1990607 100644 --- a/npc/magic/level0-wand.txt +++ b/npc/magic/level0-wand.txt @@ -11,6 +11,9 @@ function script SK_Confringo { // Effective magic code .@PW=30+(7*@skillLv); .@dmg=AdjustSpellpower(.@PW); + // Noobs adjustment + if (.@dmg < readparam(bInt)) + .@dmg=rand2(.@dmg, readparam(bInt)); harm(@skillTarget, .@dmg, HARM_MAGI, Ele_Neutral); return; } |