summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-01-14 17:24:17 -0300
committerJesusaves <cpntb1@ymail.com>2021-01-14 17:24:17 -0300
commit8f93e453363cf8509378f5b5657b4b42667b9ff0 (patch)
tree0d7b5ec6ada8c05828e512bf09227273881a8ef7
parent24e68146d18660ca906c59fe3661abb6ff226fec (diff)
downloadserverdata-8f93e453363cf8509378f5b5657b4b42667b9ff0.tar.gz
serverdata-8f93e453363cf8509378f5b5657b4b42667b9ff0.tar.bz2
serverdata-8f93e453363cf8509378f5b5657b4b42667b9ff0.tar.xz
serverdata-8f93e453363cf8509378f5b5657b4b42667b9ff0.zip
Other conditional NPCs
-rw-r--r--npc/025-1/ctrl.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/npc/025-1/ctrl.c b/npc/025-1/ctrl.c
index d11eb798e..d222b03bd 100644
--- a/npc/025-1/ctrl.c
+++ b/npc/025-1/ctrl.c
@@ -47,9 +47,17 @@ function script FTCleanup {
// Main gate
if ($FORTRESS_STATE) {
hideonnpc "Gate#F";
+ enablenpc "Ihclot";
+ enablenpc "Salohnic";
+ enablenpc "Phoenix Rebirth";
+ enablenpc "Xovilam";
donpcevent "#025-1_99_112::OnDisable";
} else {
hideoffnpc "Gate#F";
+ disablenpc "Ihclot";
+ disablenpc "Salohnic";
+ disablenpc "Phoenix Rebirth";
+ disablenpc "Xovilam";
donpcevent "#025-1_99_112::OnEnable";
mapwarp("025-1", "025-2", 100, 27);
}