diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-05-27 09:16:10 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-05-27 09:16:10 -0300 |
commit | 8962f55ebf1d71698238180fc392885894701737 (patch) | |
tree | 676a0d3158b1a5959d938500cec6917a66a0d426 /npc/soren | |
parent | 82b2868ce64f32b279318a4e366ec947ca7b9f2c (diff) | |
download | serverdata-8962f55ebf1d71698238180fc392885894701737.tar.gz serverdata-8962f55ebf1d71698238180fc392885894701737.tar.bz2 serverdata-8962f55ebf1d71698238180fc392885894701737.tar.xz serverdata-8962f55ebf1d71698238180fc392885894701737.zip |
Remove the variable @soren_penalty
Diffstat (limited to 'npc/soren')
-rw-r--r-- | npc/soren/main.txt | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/npc/soren/main.txt b/npc/soren/main.txt index b74df03e8..591900d40 100644 --- a/npc/soren/main.txt +++ b/npc/soren/main.txt @@ -86,8 +86,6 @@ soren,105,92,0 script Soren's Fountain NPC_NO_SPRITE,{ // Main menu mesc l("Attempt to disarm the singularity?"); if (askyesno() == ASK_YES) { - if (.casterId == getcharid(3)) - @soren_penalty=@soren_penalty+rand(4, 6); .casterId=getcharid(3); .st=1; npctalk l("@@ started disarm process. Please stand by.", strcharinfo(0)); @@ -130,8 +128,8 @@ OnTimer31000: .@val=.@val-10; if (getvariableofnpc(.casterId, "Soren's Gizmo") == .casterId) .@val=.@val-10; - if (@soren_penalty > 0) // Weak protection against EXP farming. - .@val=.@val-@soren_penalty; + if (getvariableofnpc(.casterId, "Soren's Fountain") == .casterId) + .@val=.@val-10; percentheal (.@val/2), -13+.@val; @@ -239,8 +237,6 @@ soren,104,143,0 script Soren's Lake NPC_NO_SPRITE,{ // Main menu mesc l("Attempt to disarm the singularity?"); if (askyesno() == ASK_YES) { - if (.casterId == getcharid(3)) - @soren_penalty=@soren_penalty+rand(4, 6); .casterId=getcharid(3); .st=1; npctalk l("@@ started disarm process. Please stand by.", strcharinfo(0)); @@ -283,8 +279,8 @@ OnTimer30900: .@val=.@val-10; if (getvariableofnpc(.casterId, "Soren's Gizmo") == .casterId) .@val=.@val-10; - if (@soren_penalty > 0) // Weak protection against EXP farming. - .@val=.@val-@soren_penalty; + if (getvariableofnpc(.casterId, "Soren's Lake") == .casterId) + .@val=.@val-10; percentheal (.@val/2), -13+.@val; @@ -389,8 +385,6 @@ soren,107,37,0 script Soren's Gizmo NPC_NO_SPRITE,{ // Main menu mesc l("Attempt to disarm the singularity?"); if (askyesno() == ASK_YES) { - if (.casterId == getcharid(3)) - @soren_penalty=@soren_penalty+rand(4, 6); .casterId=getcharid(3); .st=1; npctalk l("@@ started disarm process. Please stand by.", strcharinfo(0)); @@ -433,8 +427,8 @@ OnTimer31200: .@val=.@val-10; if (getvariableofnpc(.casterId, "Soren's Fountain") == .casterId) .@val=.@val-10; - if (@soren_penalty > 0) // Weak protection against EXP farming. - .@val=.@val-@soren_penalty; + if (getvariableofnpc(.casterId, "Soren's Gizmo") == .casterId) + .@val=.@val-10; percentheal (.@val/2), -13+.@val; |