diff options
Diffstat (limited to 'npc/042-3/jail.txt')
-rw-r--r-- | npc/042-3/jail.txt | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/npc/042-3/jail.txt b/npc/042-3/jail.txt index 9c6f065b3..5108d459a 100644 --- a/npc/042-3/jail.txt +++ b/npc/042-3/jail.txt @@ -16,18 +16,22 @@ OnKillSlime: if (@lockpicks) end; if (rand2(10000) > 1000) { - getmapxy(.@m$, .@x, .@y, 0); - sleep2(1800); - .@mob=monster(.@m$, .@x, .@y, strmobinfo(1, CopperSlime), CopperSlime, 1, .@label$); - // This should wipe the monster experience value - setunitdata(.@mob, UDT_LEVEL, 1); - end; + goto OnFirstSlime; } @lockpicks=true; getitem Lockpicks, 1; getitem TreasureKey, 1; end; +OnFirstSlime: + getmapxy(.@m$, .@x, .@y, 0); + sleep2(1800); + .@mob=monster(.@m$, .@x, .@y, strmobinfo(1, CopperSlime), CopperSlime, 1, .@label$); + // This should wipe the monster experience value + setunitdata(.@mob, UDT_LEVEL, 1); + end; + + // Spawn Siege Towers OnInstanceInit: .@m$=instance_mapname(.map$); |