private int GetBaseScore(PlayerAttackType attackType, ScoreData scoreData) { if (!scoreData.UseComplicatedScore) { return(scoreData.BaseScore); } switch (attackType) { case PlayerAttackType.Stomping: case PlayerAttackType.Kicking: return(scoreData.StompedScore); case PlayerAttackType.FireBall: case PlayerAttackType.InvincibleStarman: case PlayerAttackType.Shell: return(scoreData.FireBallHitScore); } return(scoreData.BaseScore); }
public OnAttackedMethod GetMethod(PlayerAttackType playerAttackType) { return(m_Methods[playerAttackType]); }
public void DorHeal() { fightBox.SetActive(false); lastPlayerAttack = PlayerAttackType.Dor; StartCoroutine(DorHealEnum()); }
public void TamHeal() { fightBox.SetActive(false); lastPlayerAttack = PlayerAttackType.Tam; StartCoroutine(TamHealEnum()); }
public void VikHeal() { fightBox.SetActive(false); lastPlayerAttack = PlayerAttackType.Vik; StartCoroutine(VikHealEnum()); }