public void GainStack(IStackableStatus other) { IgniteStatusEffect o = other as IgniteStatusEffect; percentageIncrease += o.percentageIncrease; }
//add the number of turns that would've been added to the number we have so far public void GainStack(IStackableStatus other) { OverdriveStatusEffect o = other as OverdriveStatusEffect; remainingTurns += o.remainingTurns; }
//if charge is applied again, we gain an extra charge public void GainStack(IStackableStatus other) { remainingCharges++; }