diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-04-10 03:00:20 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-04-10 03:00:20 -0300 |
commit | ba1e827b6b4c17c35a163e6b55be8c122de632b8 (patch) | |
tree | 819f93d0ffee3697e336471710afb9681f0b8d86 /npc/016-1/gwendolyn.txt | |
parent | 6e7f3113c0faad9edd4367d100ba9dd77e8d3130 (diff) | |
download | serverdata-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-x | npc/016-1/gwendolyn.txt | 2 |
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; |