コード例 #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;
        }
コード例 #2
0
ファイル: Spell.cs プロジェクト: ebakkedahl/WCell
 public Spell()
 {
     AISettings = new AISpellSettings(this);
 }