summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/soren/main.txt18
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;