summaryrefslogtreecommitdiff
path: root/npc/025-1
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-01-14 17:25:23 -0300
committerJesusaves <cpntb1@ymail.com>2021-01-14 17:25:23 -0300
commitec8adda67f3b6158e2c865cbc2a39c2041e218b7 (patch)
tree4ee655298865eb28fbceb1bf3f55d87d20dd55f7 /npc/025-1
parent8f93e453363cf8509378f5b5657b4b42667b9ff0 (diff)
downloadserverdata-ec8adda67f3b6158e2c865cbc2a39c2041e218b7.tar.gz
serverdata-ec8adda67f3b6158e2c865cbc2a39c2041e218b7.tar.bz2
serverdata-ec8adda67f3b6158e2c865cbc2a39c2041e218b7.tar.xz
serverdata-ec8adda67f3b6158e2c865cbc2a39c2041e218b7.zip
Ensure the NPCs will exist when we try to enable/disable them
Diffstat (limited to 'npc/025-1')
-rw-r--r--npc/025-1/ctrl.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/npc/025-1/ctrl.c b/npc/025-1/ctrl.c
index d222b03bd..f1d2fe903 100644
--- a/npc/025-1/ctrl.c
+++ b/npc/025-1/ctrl.c
@@ -377,12 +377,9 @@ function spawnCore {
/////////////////////////////////////////////////////////
OnInit:
+ sleep(200); // Ensure the NPCs will exist when this run
FTCleanup($FORTRESS_STATE);
- setarray .@a, Tipiou, Pollet, Wolvern, FireSkull, DarkLizard, BlackScorpion, EarthFairy, FireFairy, WaterFairy, WindFairy, PoisonFairy, DustGatling, DustRifle, DustRevolver, MountainSnake, HoodedNinja, ForestMushroom, GoldenScorpion, Yeti;
- setarray .@b, Yeti, WickedMushroom, Archant, Scar, Crafty, AzulSkullSlime, YellowSkullSlime, Forain, GreenDragon, Michel, EliteDuck, Troll, Moonshroom, Terranite;
- setarray .@c, RedSkullSlime, Terranite, JackO, BlackMamba, GreenSkullSlime, Centaur, GoboBear, TerraniteProtector;
- setarray .@d, GreenSlimeMother, BlueSlimeMother, YellowSlimeMother, RedSlimeMother, WhiteSlimeMother, AzulSlimeMother, LavaSlimeMother, BlackSlimeMother;
- setarray .@e, VanityPixie, HolyPixie, ShadowPixie, NulityPixie, Reaper, BlackSkullSlime, NightmareDragon, WhirlyBird, PinkieSuseran;
+ end;
OnTue0000:
FTCleanup(false);