You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gfgtdf opened this issue
Jul 13, 2017
· 2 comments
Labels
BugIssues involving unexpected behavior.Lua APIIssues with the Lua engine and API.UnitsIssues that involve unit definitions or their implementation in the engine.WFLIssues involving the Wesnoth Formula Language engine and APIs.
(lets assume tha unti has current 51 hp) the damage prediction code will assume that every attack does 14 damagebut during the actual fight all strikes that were made after the unit has <50 hp left do just 10 damage. Tested on wesnoth 1.13.8 release.
The text was updated successfully, but these errors were encountered:
CelticMinstrel
added
Bug
Issues involving unexpected behavior.
Units
Issues that involve unit definitions or their implementation in the engine.
WFL
Issues involving the Wesnoth Formula Language engine and APIs.
labels
Jul 14, 2017
Hmm, this seems kind of tricky. The obvious fix would be to save the unit's current hit points but then set it to various projected values as the attack prediction progresses, but I feel like there has to be a better way than that...
BugIssues involving unexpected behavior.Lua APIIssues with the Lua engine and API.UnitsIssues that involve unit definitions or their implementation in the engine.WFLIssues involving the Wesnoth Formula Language engine and APIs.
If a unit has an attack like tihs
(lets assume tha unti has current 51 hp) the damage prediction code will assume that every attack does 14 damagebut during the actual fight all strikes that were made after the unit has <50 hp left do just 10 damage. Tested on wesnoth 1.13.8 release.
The text was updated successfully, but these errors were encountered: