Exemplo n.º 1
0
    public override void doActionAPI(unitHitbox unitHitbox)
    {
        base.doActionAPI(unitHitbox);
        // So Ugly, Will change Later
        StatContol stat = unitHitbox.GetComponent <StatContol>();

        stat.IncreaseMaxSpeed(speedUp);
    }
Exemplo n.º 2
0
    public override void removeItemEffectOnPlayer(unitHitbox player)
    {
        StatContol stat = player.GetComponent <StatContol>();

        stat.IncreaseMaxSpeed(-speedUp);
    }