internal void InitializeAfterLoad() { CooldownRange categoryCooldown = AISpellSettings.GetDefaultCategoryCooldown(this.Spell.GetAISpellCooldownCategory()); if (this.Cooldown.MinDelay < 0) { this.Cooldown.MinDelay = categoryCooldown.MinDelay; } if (this.Cooldown.MaxDelay >= 0) { return; } this.Cooldown.MaxDelay = categoryCooldown.MaxDelay; }
public Spell() { AISettings = new AISpellSettings(this); }