Example #1
0
    protected bool HasShieldBuff()
    {
        var shieldSkill = (ShieldSkill)BaseMinionSkill.GetSkillByType(BaseMinionSkill.SkillType.HitShield, skills);

        if (shieldSkill != null)
        {
            var enabled = shieldSkill.ExecuteSkill();
            return(enabled);
        }

        return(false);
    }
Example #2
0
 ShieldSkill GetMinionShieldIfPossible(Minion m)
 {
     return((ShieldSkill)BaseMinionSkill.GetSkillByType(BaseMinionSkill.SkillType.HitShield, m.skills));
 }
Example #3
0
 WarScreamSkill GetMinionSkillIfPossible(Minion m)
 {
     return((WarScreamSkill)BaseMinionSkill.GetSkillByType(BaseMinionSkill.SkillType.WarScreamer, m.skills));
 }