//************************************// //****************Attack**************// //************************************// public void Attack(Vector2 Direction, float Length_Times_Amount, float Which_Storey) { if (Raycast.SearchForCreature(Direction,Length_Times_Amount,Which_Storey)) { Attack Creature_Attacks_Advisory = new Attack(this,Raycast,Raycast.TargetCreature); Statuses_Activate(State.Attack,Creature_Attacks_Advisory); Creature_Attacks_Advisory.Initiate(Slot[(int)Assign_Slot.Primary_Hand]); Creature_Attacks_Advisory.Initiate(Slot[(int)Assign_Slot.Secondary_Hand]); if (Raycast.TargetCreature.Get_Stat(Stat.Hitpoints) < 1) { Statuses_Activate(State.MurderedCreature); } } }