This commit is contained in:
@@ -6,7 +6,7 @@ public class Flail : Script, IScriptChangeBasePower
|
||||
/// <inheritdoc />
|
||||
public void ChangeBasePower(IExecutingMove move, IPokemon target, byte hit, ref ushort basePower)
|
||||
{
|
||||
var remainingHealth = move.User.CurrentHealth / move.User.BoostedStats.Hp;
|
||||
var remainingHealth = move.User.CurrentHealth / (float)move.User.BoostedStats.Hp;
|
||||
var fraction = remainingHealth * 48;
|
||||
basePower = fraction switch
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user