summaryrefslogtreecommitdiff
path: root/npc/cities/umbala.txt
diff options
context:
space:
mode:
authorRidley <ridley8819@gmail.com>2016-10-10 01:17:30 +0200
committerRidley <ridley8819@gmail.com>2016-10-16 14:37:43 +0200
commit2f06704ee2f6be5566e8cbff0fd29a1238c7cae5 (patch)
tree231ba54b219c15b75d299c5bb6a9e90942d182b8 /npc/cities/umbala.txt
parent80afa9c5b1d3e7eff0d03f78de3454830789c87b (diff)
downloadhercules-2f06704ee2f6be5566e8cbff0fd29a1238c7cae5.tar.gz
hercules-2f06704ee2f6be5566e8cbff0fd29a1238c7cae5.tar.bz2
hercules-2f06704ee2f6be5566e8cbff0fd29a1238c7cae5.tar.xz
hercules-2f06704ee2f6be5566e8cbff0fd29a1238c7cae5.zip
Fixes cases where player were executed
On Aegis players set their HP to 0 by script are still alive. Since we don't want to copy this, scripts that set HP to 0 and expects the player to stay alive are changed. Additionally some scripts where changed where the HP were set to 1% instead to 1 HP and also the percentheal -100 with intended death set into close2. In megingard_seal.txt a end; was missing.
Diffstat (limited to 'npc/cities/umbala.txt')
-rw-r--r--npc/cities/umbala.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/cities/umbala.txt b/npc/cities/umbala.txt
index d705e4baa..a8127c372 100644
--- a/npc/cities/umbala.txt
+++ b/npc/cities/umbala.txt
@@ -1021,7 +1021,7 @@ umbala,140,197,1 script Bungee Jump FAKE_NPC,0,0,{
OnTouch:
switch(rand(1,3)) {
case 1:
- percentheal -100,0;
+ Hp = 1;
mapannounce "umbala","Bungee Jump: "+strcharinfo(PC_NAME)+" : Kyaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa~~~~~~~",bc_map;
end;
case 2:
@@ -1030,7 +1030,7 @@ OnTouch:
end;
case 3:
if (rand(1,2) == 2) {
- percentheal -99,0;
+ Hp = 1;
warp "nif_in",69,15;
}
end;