Package com.kraken.api.simulation
Class SimulationNpcProfile
- java.lang.Object
-
- com.kraken.api.simulation.SimulationNpcProfile
-
public final class SimulationNpcProfile extends java.lang.ObjectNPC combat and movement profile used while simulating each NPC id.
-
-
Field Summary
Fields Modifier and Type Field Description static SimulationNpcProfileDEFAULTDefault profile used when no id mapping exists.
-
Constructor Summary
Constructors Constructor Description SimulationNpcProfile(int attackRange, NpcAttackStyle attackStyle, int attackSpeed, int maxHit, boolean intelligentPathing)Creates a profile for an NPC id mapping.
-
-
-
Field Detail
-
DEFAULT
public static final SimulationNpcProfile DEFAULT
Default profile used when no id mapping exists.
-
-
Constructor Detail
-
SimulationNpcProfile
public SimulationNpcProfile(int attackRange, NpcAttackStyle attackStyle, int attackSpeed, int maxHit, boolean intelligentPathing)Creates a profile for an NPC id mapping.- Parameters:
attackRange- attack range used for line-of-sight and attack checks.attackStyle- attack style used for protection-prayer checks.attackSpeed- attack speed in ticks.maxHit- max hit used for damage simulation.intelligentPathing- true to use collision-aware pathfinding instead of greedy movement.
-
-