public override void doActionAPI(unitHitbox unitHitbox) { base.doActionAPI(unitHitbox); // So Ugly, Will change Later StatContol stat = unitHitbox.GetComponent <StatContol>(); stat.IncreaseMaxSpeed(speedUp); }
public override void removeItemEffectOnPlayer(unitHitbox player) { StatContol stat = player.GetComponent <StatContol>(); stat.IncreaseMaxSpeed(-speedUp); }