Skip to content
GitLab
Next
Menu
Projects
Groups
Snippets
/
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
pokemonsdk
pokemonsdk
Commits
31bae786
Commit
31bae786
authored
Sep 05, 2021
by
NuriYuri
Browse files
Ensure HP are always right when starting a battle
parent
3e124541
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/01600 Alpha 25 Battle Engine/00100 PokemonBattler/00100 PokemonBattler.rb
View file @
31bae786
...
...
@@ -153,6 +153,7 @@ module PFM
@item_stolen
=
false
@item_consumed
=
false
@consumed_item
=
:__undef__
self
.
hp
=
(
max_hp
*
hp_rate
).
to_i
initialize_set_is_follower
end
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment