Fixed a crash with AISpellInfoType having cooldown default to 0 should be default 5000.

This commit is contained in:
hondacrx
2021-07-03 11:37:20 -04:00
parent 2bc0446de2
commit 1d5337d3f7
6 changed files with 40 additions and 22 deletions
+8 -1
View File
@@ -491,8 +491,15 @@ namespace Game.AI
public List<AreaBoundary> GetBoundary() { return _boundary; }
}
public struct AISpellInfoType
public class AISpellInfoType
{
public AISpellInfoType()
{
target = AITarget.Self;
condition = AICondition.Combat;
cooldown = SharedConst.AIDefaultCooldown;
}
public AITarget target;
public AICondition condition;
public uint cooldown;