mirror of
https://github.com/ProjectSWGCore/Holocore.git
synced 2026-09-11 21:45:26 -04:00
Added new spawner flag QUEST, which acts like INVULNERABLE but additionally adds a blue info icon above the NPC #1424
This commit is contained in:
+3
-2
@@ -1,5 +1,5 @@
|
||||
/***********************************************************************************
|
||||
* Copyright (c) 2019 /// Project SWG /// www.projectswg.com *
|
||||
* Copyright (c) 2023 /// Project SWG /// www.projectswg.com *
|
||||
* *
|
||||
* ProjectSWG is the first NGE emulator for Star Wars Galaxies founded on *
|
||||
* July 7th, 2011 after SOE announced the official shutdown of Star Wars Galaxies. *
|
||||
@@ -69,7 +69,8 @@ public final class NpcStaticSpawnLoader extends DataLoader {
|
||||
public enum SpawnerFlag {
|
||||
AGGRESSIVE,
|
||||
ATTACKABLE,
|
||||
INVULNERABLE
|
||||
INVULNERABLE,
|
||||
QUEST
|
||||
}
|
||||
|
||||
public static class StaticSpawnInfo implements SpawnInfo {
|
||||
|
||||
@@ -150,6 +150,10 @@ public class NPCCreator {
|
||||
case INVULNERABLE:
|
||||
object.addOptionFlags(OptionFlag.INVULNERABLE);
|
||||
break;
|
||||
case QUEST:
|
||||
object.addOptionFlags(OptionFlag.INVULNERABLE);
|
||||
object.addOptionFlags(OptionFlag.INTERESTING);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user