Example #1
0
        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;
        }
Example #2
0
 public Spell()
 {
     AISettings = new AISpellSettings(this);
 }