diff options
Diffstat (limited to 'npc/config')
-rw-r--r-- | npc/config/magic.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/config/magic.txt b/npc/config/magic.txt index c4f4e2912..d8339622c 100644 --- a/npc/config/magic.txt +++ b/npc/config/magic.txt @@ -42,7 +42,7 @@ function script AdjustAttackpower { function script GetManaExp { .@sk=getarg(0); .@pt=getarg(1); - .@bonus=rand(0,getskilllv(TMW2_SAGE)*3/2); + .@bonus=rand2(0,getskilllv(TMW2_SAGE)*3/2); if (LAST_SKILL == .@sk) { .@pt=limit(0, (.@pt+.@bonus)/3, 1); .@bonus=0; |