Style cleanup
This commit is contained in:
@@ -6,8 +6,7 @@ public class BindEffect : Script
|
||||
private readonly IPokemon? _owner;
|
||||
private int _turns;
|
||||
private readonly float _percentOfMaxHealth;
|
||||
|
||||
|
||||
|
||||
public BindEffect(IPokemon owner, int turns, float percentOfMaxHealth)
|
||||
{
|
||||
_owner = owner;
|
||||
@@ -25,7 +24,7 @@ public class BindEffect : Script
|
||||
_turns--;
|
||||
_owner.Damage((uint)(_owner.MaxHealth * _percentOfMaxHealth), DamageSource.Misc);
|
||||
}
|
||||
if (_turns <= 0)
|
||||
if (_turns <= 0)
|
||||
RemoveSelf();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user