mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 17:47:32 +00:00
Tactical Chance
This commit is contained in:
1 parent
ec1356bc73
commit
3f338ea49a
1 file changed
+4
-1
@@ -30,6 +30,7 @@ public class DataAI {
|
||||
public EnumCombatPolicy combatPolicy = EnumCombatPolicy.Flip;
|
||||
public int useRangeMelee = 0;
|
||||
public int tacticalRadius = 8;
|
||||
public int tacticalChance = 5;
|
||||
|
||||
public int movementType = 0;
|
||||
public double flySpeed = 1.0D;
|
||||
@@ -75,7 +76,8 @@ public class DataAI {
|
||||
canFireIndirect = compound.getInteger("FireIndirect");
|
||||
useRangeMelee = compound.getInteger("RangeAndMelee");
|
||||
distanceToMelee = compound.getInteger("DistanceToMelee");
|
||||
tacticalRadius = compound.getInteger("TacticalRadius");
|
||||
tacticalRadius = compound.getInteger("TacticalRadius");
|
||||
tacticalChance = compound.getInteger("TacticalChance");
|
||||
movingPause = compound.getBoolean("MovingPause");
|
||||
ignoreCobweb = compound.getBoolean("IgnoreCobweb");
|
||||
npcInteracting = compound.getBoolean("npcInteracting");
|
||||
@@ -145,6 +147,7 @@ public class DataAI {
|
||||
compound.setInteger("RangeAndMelee", useRangeMelee);
|
||||
compound.setInteger("DistanceToMelee", distanceToMelee);
|
||||
compound.setInteger("TacticalRadius", tacticalRadius);
|
||||
compound.setInteger("TacticalChance", tacticalChance);
|
||||
compound.setBoolean("MovingPause", movingPause);
|
||||
compound.setBoolean("IgnoreCobweb", ignoreCobweb);
|
||||
compound.setBoolean("npcInteracting", npcInteracting);
|
||||
|
||||
Reference in new issue
Block a user