CreatureAI Cleanups

This commit is contained in:
hondacrx
2023-01-24 23:18:14 -05:00
parent b84ca5dc20
commit 5c22dca105
4 changed files with 265 additions and 250 deletions
@@ -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
{
+2
View File
@@ -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.