mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-09-11 22:45:06 -04:00
Optimized Nightsister Battle spawner script.
This commit is contained in:
Regular → Executable
+3
-21
@@ -1,17 +1,7 @@
|
||||
package script.theme_park.nightsister;
|
||||
|
||||
import script.*;
|
||||
import script.base_class.*;
|
||||
import script.combat_engine.*;
|
||||
import java.util.Arrays;
|
||||
import java.util.Hashtable;
|
||||
import java.util.Vector;
|
||||
import script.base_script;
|
||||
|
||||
import script.ai.ai;
|
||||
import script.library.ai_lib;
|
||||
import script.library.create;
|
||||
import script.ai.ai_combat;
|
||||
import script.dictionary;
|
||||
import script.obj_id;
|
||||
|
||||
public class fortress extends script.base_script
|
||||
{
|
||||
@@ -31,18 +21,10 @@ public class fortress extends script.base_script
|
||||
setObjVar(self, "spawn_table", "datatables/spawning/dungeon/nightsister_fortress.iff");
|
||||
}
|
||||
messageTo(self, "scriptFix", null, 2, false);
|
||||
return;
|
||||
}
|
||||
public int scriptFix(obj_id self, dictionary params) throws InterruptedException
|
||||
{
|
||||
if (!hasScript(self, "theme_park.dungeon.generic_spawner"))
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
{
|
||||
attachScript(self, "theme_park.dungeon.generic_spawner");
|
||||
}
|
||||
attachScript(self, "theme_park.dungeon.generic_spawner");
|
||||
detachScript(self, "theme_park.singing_mountain.stronghold");
|
||||
return SCRIPT_CONTINUE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user