Style cleanup
This commit is contained in:
@@ -9,7 +9,7 @@ public class HealEachEndOfTurnEffect : Script
|
||||
private HealEachEndOfTurnEffect()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
public HealEachEndOfTurnEffect(float healPercentage, IPokemon pokemon)
|
||||
{
|
||||
_healPercentage = healPercentage;
|
||||
@@ -24,7 +24,7 @@ public class HealEachEndOfTurnEffect : Script
|
||||
return;
|
||||
if (_pokemon.BattleData?.IsOnBattlefield != true)
|
||||
return;
|
||||
|
||||
|
||||
var amount = _pokemon.BoostedStats.Hp * _healPercentage;
|
||||
if (_pokemon.HasHeldItem("big_root"))
|
||||
amount *= 1.3f;
|
||||
|
||||
Reference in New Issue
Block a user