CreatureAI Cleanups
This commit is contained in:
@@ -435,6 +435,15 @@ namespace Framework.Constants
|
||||
Other
|
||||
}
|
||||
|
||||
public enum SelectTargetMethod
|
||||
{
|
||||
Random = 0, // just pick a random target
|
||||
MaxThreat, // prefer targets higher in the threat list
|
||||
MinThreat, // prefer targets lower in the threat list
|
||||
MaxDistance, // prefer targets further from us
|
||||
MinDistance // prefer targets closer to us
|
||||
}
|
||||
|
||||
[Flags]
|
||||
public enum GroupAIFlags
|
||||
{
|
||||
|
||||
@@ -120,11 +120,13 @@ namespace Framework.Constants
|
||||
NoDamage = 4, // used also in case when damage applied to health but not applied to spell channelInterruptFlags/etc
|
||||
Self = 5
|
||||
}
|
||||
|
||||
public enum WeaponDamageRange
|
||||
{
|
||||
MinDamage,
|
||||
MaxDamage
|
||||
}
|
||||
|
||||
public enum UnitMods
|
||||
{
|
||||
StatStrength, // STAT_STRENGTH..UNIT_MOD_STAT_INTELLECT must be in existed order, it's accessed by index values of Stats enum.
|
||||
|
||||
Reference in New Issue
Block a user