Add Combat Policy changes to API

This commit is contained in:
Kam committed 2024-01-25 20:17:46 -05:00
1 parent c8ee840082
commit 30a6c37277
1 file changed
+32
@@ -452,6 +452,38 @@ public interface ICustomNpc<T extends EntityCreature> extends IEntityLiving<T> {
*/
String getTacticalVariantName();
/**
*
* @return Returns the name of the NPC's combat policy.
*/
String getCombatPolicyName();
/**
*
* @param policy Changes the combat policy of the NPC.
* 0 - Flip
* 1 - Brute
* 2 - Stubborn
*
*/
void setCombatPolicy(int policy);
/**
*
* @return Returns the ombat policy of the NPC.
* 0 - Flip
* 1 - Brute
* 2 - Stubborn
*
*/
int getCombatPolicy();
/**
*
* @param policy Sets the NPC's tactical variant by name.
*/
void setCombatPolicy(String policy);
/**
*
* @param tacticalRadius Sets the radius in which the tactical variant is affected, if any. Effective for all tactical variants except Rush and None.