Skip to content

Conversation

@skyleo
Copy link
Contributor

@skyleo skyleo commented Oct 10, 2019

Pull Request Prelude

Changes Proposed

Fix Chaotic Blessings never healing the enemy.
Fix Homunculus skill failure message not displaying required items. (eg: Healing Hands from Lif)
Fix Homunculus skill requirements being put on owner as well.

Last change meant for example that currently if the owner of an homunculus doesn't have enough SP, the homunculus won't be able to use skills requiring SP, even though the Homunculus might have enough SP. This is now fixed with this change.

Note:
All of these fixes have been tested and are proven to work.

Issues addressed: None?

This fixes not being able to use Homunculus skills when having
90% overweight.
This also fixes not being able to use Homunculus skills when the owner has
low HP or SP, even though the Homunculus has enough HP or SP to use the
skill.
It has a chance to roll for enemy and heal the enemy,
While calculating the chance was correct,
it was getting the enemy with battle->check_target.
But unit->stop_attack has been called before in
unit->skilluse_id2, making battle->check_target return NULL at that
point, since it has no attack target anymore.
So it defaulted to heal the Homunculus itself, instead of the
enemy.
@skyleo skyleo added type:bug Issue is a bug or describes an incorrect behavior that should be fixed status:code-review Awaiting code review component:mechanics:skills Affecting the skills' game mechanics severity:4-high Crashes and general instability labels Oct 10, 2019
@skyleo skyleo requested a review from MishimaHaruna October 10, 2019 01:41
@HerculesWSAPI
Copy link
Contributor

This change is Reviewable

@skyleo skyleo added severity:3-medium Issues with GM commands, script commands, and other commonly used features and removed severity:4-high Crashes and general instability labels Oct 10, 2019
@MishimaHaruna MishimaHaruna added this to the Release v2019.10.20 milestone Oct 18, 2019
@MishimaHaruna MishimaHaruna merged commit 088547f into HerculesWS:master Oct 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component:mechanics:skills Affecting the skills' game mechanics severity:3-medium Issues with GM commands, script commands, and other commonly used features status:code-review Awaiting code review type:bug Issue is a bug or describes an incorrect behavior that should be fixed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants