diff options
Diffstat (limited to 'npc/magic/config.txt')
-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)); |