Exemplo n.º 1
0
    public void Execute(Player player, GameObject origin, GameObject target) //Likely to be replaced with Character or Entity?
    {
        lastUsedTime = Time.time;
        float adjustedDamage = baseDamage + (baseDamage * (player.attributes.TotalStrength - StrengthRequired) * 0.04f);

        ah.FlameThrowerRoutine(player, origin, target, flame, adjustedDamage, effectiveRange, effectLength);

        player.resources.UseEnergy(energyRequired);
    }