Leftovers (06w3dhn4)
2
0 ratings

OwnerJext ★
PermissionFree to use with credit
RegionJohto
CopyrightedYes
CategoryHold Items
Buy Price200
Sell Price100
Flavor
An item to be held by a Pokémon. The holder's HP is slowly but steadily restored throughout every battle.
Notes
Needs reworking, old code caused desync and activated weirdly

old code:
onTurnEnd: (game, mon) => {
if (mon.hp > 0) {
game.monEffect(mon, {absorb: true});
game.updateHP(mon, Math.min(mon.hpTotal(), mon.hp + mon.hpTotal() / 16 | 0));
mon.itemPopup();
}
}
This Item can be found in these Collections: Johto, Nintendo and Okeno.