public void Disarm(Unit caster, Unit target) { string spellName = "Disarm"; string debuffType = "Armor"; double effect = 0.75 * target.ArmorValue; double manaRequirment = 0.5 * caster.MaxMana; spellCheck.DeBuffCheck(caster, target, manaRequirment, effect, spellName, debuffType); }
public void Blind(Unit caster, Unit target) { string spellName = "Blind"; string debuffType = "Attack"; double manaRequirment = 0.15 * caster.MaxMana; double negativeEffect = 0.2 * target.CurrentAttackPower; spellCheck.DeBuffCheck(caster, target, manaRequirment, negativeEffect, spellName, debuffType); }