mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-09-21 06:13:13 -04:00
Some more skillMod improvements
This commit is contained in:
@@ -452,34 +452,25 @@ public class ObjectService implements INetworkDispatch {
|
||||
// Any such settings can be completely reset with setOptionsBitmask
|
||||
// in scripts and modified with setOptions(Options.X, true/false)
|
||||
if (Template.startsWith("object/creature/") || Template.startsWith("object/mobile/")) {
|
||||
if (Template.startsWith("object/mobile/")) {
|
||||
((CreatureObject) object).setOptionsBitmask(Options.ATTACKABLE);
|
||||
}
|
||||
if (Template.startsWith("object/mobile/beast_master/")) {
|
||||
((CreatureObject) object).setOptionsBitmask(Options.NONE);
|
||||
}
|
||||
if (Template.startsWith("object/mobile/vendor/")) {
|
||||
} else if (Template.startsWith("object/mobile/vendor/")) {
|
||||
((CreatureObject) object).setOptionsBitmask(Options.INVULNERABLE | Options.USABLE);
|
||||
}
|
||||
if (Template.startsWith("object/mobile/vehicle/")) {
|
||||
} else if (Template.startsWith("object/mobile/vehicle/")) {
|
||||
((CreatureObject) object).setOptionsBitmask(Options.ATTACKABLE | Options.MOUNT);
|
||||
}
|
||||
if (Template.startsWith("object/mobile/hologram/")) {
|
||||
} else if (Template.startsWith("object/mobile/hologram/")) {
|
||||
((CreatureObject) object).setOptionsBitmask(Options.INVULNERABLE);
|
||||
}
|
||||
if (Template.startsWith("object/creature/npc/theme_park/")) {
|
||||
} else if (Template.startsWith("object/mobile/")) {
|
||||
((CreatureObject) object).setOptionsBitmask(Options.ATTACKABLE);
|
||||
} else if (Template.startsWith("object/creature/npc/theme_park/")) {
|
||||
((CreatureObject) object).setOptionsBitmask(Options.INVULNERABLE);
|
||||
}
|
||||
if (Template.startsWith("object/creature/npc/general/")) {
|
||||
} else if (Template.startsWith("object/creature/npc/general/")) {
|
||||
((CreatureObject) object).setOptionsBitmask(Options.INVULNERABLE | Options.CONVERSABLE);
|
||||
}
|
||||
if (Template.startsWith("object/creature/droid/crafted/")) {
|
||||
} else if (Template.startsWith("object/creature/droid/crafted/")) {
|
||||
((CreatureObject) object).setOptionsBitmask(Options.NONE);
|
||||
}
|
||||
if (Template.startsWith("object/creature/droid/")) {
|
||||
} else if (Template.startsWith("object/creature/droid/")) {
|
||||
((CreatureObject) object).setOptionsBitmask(Options.ATTACKABLE | Options.INVULNERABLE);
|
||||
}
|
||||
if (Template.startsWith("object/creature/player/")) {
|
||||
} else if (Template.startsWith("object/creature/player/")) {
|
||||
((CreatureObject) object).setOptionsBitmask(Options.ATTACKABLE);
|
||||
}
|
||||
} else if (object instanceof TangibleObject) {
|
||||
|
||||
Reference in New Issue
Block a user