public void Stun(int turns) { FighterClass.statusInfo stunStatus = new FighterClass.statusInfo(); stunStatus.status = FighterClass.statusEffects.Stunned; stunStatus.trigger = FighterClass.statusTrigger.TurnEnd; stunStatus.timeRemaining = turns; characterStatus.Add(stunStatus); Paralyzed = true; }
public void LightWeight(int turns) { FighterClass.statusInfo pushStatus = new FighterClass.statusInfo(); pushStatus.status = FighterClass.statusEffects.Pushable; pushStatus.trigger = FighterClass.statusTrigger.TurnEnd; pushStatus.timeRemaining = turns; characterStatus.Add(pushStatus); Pushable = true; }
public void Defend(int intensity, int turns) { FighterClass.statusInfo defenseStatus = new FighterClass.statusInfo(); defenseStatus.status = FighterClass.statusEffects.Defending; defenseStatus.intensity = intensity; defenseStatus.trigger = FighterClass.statusTrigger.TurnStart; defenseStatus.timeRemaining = turns; characterStatus.Add(defenseStatus); Defense += intensity; }