summaryrefslogtreecommitdiff
path: root/npc/016-1/gwendolyn.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-04-10 03:00:20 -0300
committerJesusaves <cpntb1@ymail.com>2021-04-10 03:00:20 -0300
commitba1e827b6b4c17c35a163e6b55be8c122de632b8 (patch)
tree819f93d0ffee3697e336471710afb9681f0b8d86 /npc/016-1/gwendolyn.txt
parent6e7f3113c0faad9edd4367d100ba9dd77e8d3130 (diff)
downloadserverdata-ba1e827b6b4c17c35a163e6b55be8c122de632b8.tar.gz
serverdata-ba1e827b6b4c17c35a163e6b55be8c122de632b8.tar.bz2
serverdata-ba1e827b6b4c17c35a163e6b55be8c122de632b8.tar.xz
serverdata-ba1e827b6b4c17c35a163e6b55be8c122de632b8.zip
Add several convenience functions. Fix some bugs regarding misuse of readparam()
Diffstat (limited to 'npc/016-1/gwendolyn.txt')
-rwxr-xr-xnpc/016-1/gwendolyn.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/016-1/gwendolyn.txt b/npc/016-1/gwendolyn.txt
index b01ab292..87ad8031 100755
--- a/npc/016-1/gwendolyn.txt
+++ b/npc/016-1/gwendolyn.txt
@@ -414,7 +414,7 @@ L_target_hit:
next;
mes "\"Let me inspect it...\" She walks to the target.";
next;
- if( rand(500) > (2*Dex + Agi))
+ if( rand(500) > (2*readparam(bDex) + readparam(bAgi)))
goto L_target_nohit;
.@Q_hawkseye = 6;
callsub S_Update_Var;