summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/soren/main.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/npc/soren/main.txt b/npc/soren/main.txt
index 9a0232a3b..ba47bcc62 100644
--- a/npc/soren/main.txt
+++ b/npc/soren/main.txt
@@ -36,6 +36,7 @@ OnTouch:
.@st2=getvariableofnpc(.lifetime, "Soren's Lake")-gettimetick(2);
.@st3=getvariableofnpc(.lifetime, "Soren's Gizmo")-gettimetick(2);
if (.@st1 > 0 && .@st2 > 0 && .@st3 > 0) {
+ @soren_penalty=0;
compareandsetq HurnscaldQuest_Celestia, 3, 4;
doevent("#SorenSanctum::OnStart");
warp "soren-2", 32, 36;
@@ -114,7 +115,7 @@ OnTimer31000:
if (@soren_penalty > 0) // Weak protection against EXP farming.
.@val=.@val-@soren_penalty;
- percentheal .@val, -15;
+ percentheal (.@val/2), -13+.@val;
// Monster Gen
.@amount=rand(.st/3+1, .st/2+1)+getareausers("001-7", 12);
@@ -262,7 +263,7 @@ OnTimer30900:
if (@soren_penalty > 0) // Weak protection against EXP farming.
.@val=.@val-@soren_penalty;
- percentheal .@val, -15;
+ percentheal (.@val/2), -13+.@val;
// Monster Gen. Lake spawns less
.@amount=rand(.st/3+1, .st/2+1)+getareausers("001-7", 12)-1;
@@ -407,7 +408,7 @@ OnTimer31200:
if (@soren_penalty > 0) // Weak protection against EXP farming.
.@val=.@val-@soren_penalty;
- percentheal .@val, -15;
+ percentheal (.@val/2), -13+.@val;
// Monster Gen. Gizmo spawns more monsters because you can move more
.@amount=rand(.st/3+1, .st/2+1)+getareausers("001-7", 12)+1;