diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-04-12 11:48:24 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-04-12 11:48:24 -0300 |
commit | 7e0479a8cef1e63f79ed00c06a8fe8c93ce7ed60 (patch) | |
tree | efbd09243b6dca71e8924c7b41ecd4a9c0dc77f8 /npc/magic | |
parent | 5642dea82f99181dce45b83b9e9bcfd6a903175b (diff) | |
download | serverdata-7e0479a8cef1e63f79ed00c06a8fe8c93ce7ed60.tar.gz serverdata-7e0479a8cef1e63f79ed00c06a8fe8c93ce7ed60.tar.bz2 serverdata-7e0479a8cef1e63f79ed00c06a8fe8c93ce7ed60.tar.xz serverdata-7e0479a8cef1e63f79ed00c06a8fe8c93ce7ed60.zip |
Healing items now have a delayed healing
Diffstat (limited to 'npc/magic')
-rw-r--r-- | npc/magic/config.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/magic/config.txt b/npc/magic/config.txt index 6286c2a6..c0f00cec 100644 --- a/npc/magic/config.txt +++ b/npc/magic/config.txt @@ -23,7 +23,7 @@ function script AdjustSpellpower { // Calculation FIX if (.@type == HARM_MAGI) { - .@power+=(readparam2(bInt)/2); + .@power+=(readparam2(UDT_INT)/2); .@dmg=rand2( getunitdata(getcharid(3), UDT_MATKMIN), getunitdata(getcharid(3), UDT_MATKMAX)); @@ -31,7 +31,7 @@ function script AdjustSpellpower { //if (.@target) // .@dmg=max(0, .@dmg-getunitdata(.@target, UDT_MDEF)); } else if (.@type == HARM_PHYS) { - .@power+=(readparam2(bStr)/2); + .@power+=(readparam2(UDT_STR)/2); .@dmg=rand2( getunitdata(getcharid(3), UDT_ATKMIN), getunitdata(getcharid(3), UDT_ATKMAX)); |