private bool Hit() { Actor target_actor = Target.GetComponent <Actor>(); int roll = Me.Actions.RollDie(20, 1, Advantage, Disadvantage); if (target_actor != null) { return(roll + Spellcaster.AttackModifier() > target_actor.Actions.Stats.GetArmorClass()); } return(false); }