summaryrefslogtreecommitdiff
path: root/world/map/npc/011-1/oscar.txt
diff options
context:
space:
mode:
authorgumi <git@gumi.ca>2019-08-20 23:14:12 -0400
committergumi <git@gumi.ca>2020-03-08 16:07:59 -0400
commitd8c9ff3ba3ece0973d313847f43fc9a866868d3b (patch)
tree6e284b3fa574beb6b67acb5bf6473209cde21ac3 /world/map/npc/011-1/oscar.txt
parent71f5ceed044d3908b971f5f5f6457086e0ebaa30 (diff)
downloadserverdata-hardcore.tar.gz
serverdata-hardcore.tar.bz2
serverdata-hardcore.tar.xz
serverdata-hardcore.zip
avoid killing players in quest NPCshardcore
Diffstat (limited to 'world/map/npc/011-1/oscar.txt')
-rw-r--r--world/map/npc/011-1/oscar.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/world/map/npc/011-1/oscar.txt b/world/map/npc/011-1/oscar.txt
index ad088eff..1041c823 100644
--- a/world/map/npc/011-1/oscar.txt
+++ b/world/map/npc/011-1/oscar.txt
@@ -379,7 +379,7 @@ OnPD:
set @discover_poisonous_pumpkin_again, 1;
// Small damages
misceffect FX_PUMPKIN_EXPLOSION, strcharinfo(0);
- heal -10, 0;
+ set Hp, max(1, Hp - 10);
sc_start sc_poison, 1, 3;
// Spawn mobs or get items
set @halloween_rand, rand(0,100);
@@ -407,7 +407,8 @@ OnPDP:
L_KillBadHunter:
misceffect FX_PUMPKIN_EXPLOSION, strcharinfo(0);
- heal -Hp, 0;
+ set Hp, 1;
+ warp getsavepoint(0), getsavepoint(1), getsavepoint(2);
end;
L_PumpkinsRuined: