protected virtual void MeleeWeakAttackInput() { if (cc.anime == null) { return; } if (weakAttackInput.GetButtonDown() && MeleeAttackStaminaConditions()) { cc.anime.SetInteger("AttackID", meleeManager.GetAttackID()); cc.anime.SetTrigger("WeakAttack"); } }/// WEAK ATK INPUT
/// <summary> /// WEAK ATK INPUT /// </summary> protected virtual void MeleeWeakAttackInput() { if (character.animator == null) { return; } if (weakAttackInput.GetButtonDown()) { character.animator.SetInteger("AttackID", meleeManager.GetAttackID()); character.animator.SetTrigger("WeakAttack"); } }
public override void Attack(bool strongAttack = false, int _newAttackID = -1, bool forceCanAttack = false) { if (MeleeManager && _newAttackID != -1) { attackID = _newAttackID; } else { attackID = MeleeManager.GetAttackID(); } base.Attack(strongAttack, _newAttackID, forceCanAttack); }