diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-04-30 00:26:59 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-04-30 00:26:59 -0300 |
commit | 6efb97a3aa229315d7c927d876898c6d2863eabd (patch) | |
tree | 1703df9ed43201eb8b49c3690263174c6a0000c9 /npc/042-3/jail.txt | |
parent | e5b2352f872148d5e89922b9d19399308c10963c (diff) | |
download | serverdata-6efb97a3aa229315d7c927d876898c6d2863eabd.tar.gz serverdata-6efb97a3aa229315d7c927d876898c6d2863eabd.tar.bz2 serverdata-6efb97a3aa229315d7c927d876898c6d2863eabd.tar.xz serverdata-6efb97a3aa229315d7c927d876898c6d2863eabd.zip |
This should warrant players to be arrested, finishing the jail as well.
After this, players can go back and fight Razha (not advised!!)
Or they can go forward and step on Kamelot Sewers for the first time...
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$); |