diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-04-29 09:37:50 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-04-29 09:37:50 -0300 |
commit | 597c464873405244d5b2d00e46532b0cff93a5c3 (patch) | |
tree | 55906769f7179249f8610533be9ed753dd5b927c | |
parent | 48be8ad18688d6bba32bd07d663c4cc83c227927 (diff) | |
download | serverdata-597c464873405244d5b2d00e46532b0cff93a5c3.tar.gz serverdata-597c464873405244d5b2d00e46532b0cff93a5c3.tar.bz2 serverdata-597c464873405244d5b2d00e46532b0cff93a5c3.tar.xz serverdata-597c464873405244d5b2d00e46532b0cff93a5c3.zip |
Simplify more code to make testing even easier
-rw-r--r-- | npc/012-1/guards.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/npc/012-1/guards.txt b/npc/012-1/guards.txt index 6c7b16d94..c9db38be7 100644 --- a/npc/012-1/guards.txt +++ b/npc/012-1/guards.txt @@ -721,10 +721,10 @@ OnTimer120000: // Clear $@SIEGE_TMPMOBS siege_selectmob(siege_calcdiff("012-1"), $@SIEGE_HURNS, TP_HURNS); - areamonster("012-1", 20, 20, getmapinfo(MAPINFO_SIZE_X)-20, getmapinfo(MAPINFO_SIZE_Y)-20, strmobinfo(1, SlimeBlast), 1090, 15); - areamonster("012-1", 20, 20, getmapinfo(MAPINFO_SIZE_X)-20, getmapinfo(MAPINFO_SIZE_Y)-20, ("Black Scorpion"), BlackScorpion, 1, "#HurnscaldSiege::OnBlackScorpion2Death"); - areamonster("012-1", 20, 20, getmapinfo(MAPINFO_SIZE_X)-20, getmapinfo(MAPINFO_SIZE_Y)-20, strmobinfo(1, GreenSlime), 1085, 10, "#HurnscaldSiege::OnGreenSlimeDeath"); - areamonster("012-1", 20, 20, getmapinfo(MAPINFO_SIZE_X)-20, getmapinfo(MAPINFO_SIZE_Y)-20, strmobinfo(1, ManaGhost), 1068, 2, "#HurnscaldSiege::OnManaGhostDeath"); + siege_spawn("012-1", any_of($@SIEGE_TMPMOBS), 1+$@SIEGE_HURNS, "#HurnscaldSiege::OnRespawn"); + siege_spawn("012-1", any_of($@SIEGE_TMPMOBS), 2+$@SIEGE_HURNS, "#HurnscaldSiege::OnRespawn"); + siege_spawn("012-1", any_of($@SIEGE_TMPMOBS), 2+$@SIEGE_HURNS, "#HurnscaldSiege::OnRespawn"); + siege_spawn("012-1", any_of($@SIEGE_TMPMOBS), 2+$@SIEGE_HURNS, "#HurnscaldSiege::OnRespawn"); end; OnTimer180000: |