diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-12-20 02:44:41 -0200 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-12-20 02:44:41 -0200 |
commit | e075fabefe585e8557ef2ed79970e73665b0d55b (patch) | |
tree | 0b53b9c772b18b04ac56a9ac8d3329215f8ec50f /npc/018-2-2 | |
parent | 1fd0d54c560d92c0a6e733cd0472b3e0c4f1e32b (diff) | |
download | serverdata-e075fabefe585e8557ef2ed79970e73665b0d55b.tar.gz serverdata-e075fabefe585e8557ef2ed79970e73665b0d55b.tar.bz2 serverdata-e075fabefe585e8557ef2ed79970e73665b0d55b.tar.xz serverdata-e075fabefe585e8557ef2ed79970e73665b0d55b.zip |
Try yet another different logic for Heroes Hold.
(by the way, HH CTRL 01 only ran on 018-2-2 instances... that was the problem)
Diffstat (limited to 'npc/018-2-2')
-rw-r--r-- | npc/018-2-2/main.txt | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/npc/018-2-2/main.txt b/npc/018-2-2/main.txt index 0769a2545..c5e41cc70 100644 --- a/npc/018-2-2/main.txt +++ b/npc/018-2-2/main.txt @@ -62,18 +62,13 @@ OnInit: setarray .Master_Ammo, 1, 140, 20, 20, 20, 20, 20, 20, 20, 10, 10, 1, 7, 1; - // HH_MASTER - freeloop(true); - for (.@i=0;.@i<getarraysize(.Master_Mobs);.@i++) { - areamonster "018-2-3", 20, 20, 220, 220, strmobinfo(1, .Master_Mobs[.@i]), .Master_Mobs[.@i], .Master_Ammo[.@i], "#HH_CONTROLLER01::OnMaster"+.@i; - } - freeloop(false); + end; +OnInterIfInit: initnpctimer; end; - // Controls logic for each instance OnTimer7000: stopnpctimer; @@ -107,6 +102,13 @@ OnTimer7000: } freeloop(false); + // HH_MASTER + freeloop(true); + for (.@i=0;.@i<getarraysize(.Master_Mobs);.@i++) { + areamonster "018-2-3", 20, 20, 220, 220, strmobinfo(1, .Master_Mobs[.@i]), .Master_Mobs[.@i], .Master_Ammo[.@i], "#HH_CONTROLLER01::OnMaster"+.@i; + } + freeloop(false); + // TODO: We still need the main logic for this. I mean, what is the objective on each floor of Master Dungeon? debugmes "Heroes Hold Monsters: Success"; end; |