diff options
author | skyleo <skyleo@skyleo.de> | 2019-10-10 03:13:14 +0200 |
---|---|---|
committer | skyleo <skyleo@skyleo.de> | 2019-10-10 03:34:02 +0200 |
commit | b2e1879cc22faeda1511108e912d915c90d30b6e (patch) | |
tree | d32e795807833167b6d7d5c16f8c505f4bb8faee /src/map/rodex.c | |
parent | 6209e88b2e14f67f9b3fd47084382c7b071ed4ed (diff) | |
download | hercules-b2e1879cc22faeda1511108e912d915c90d30b6e.tar.gz hercules-b2e1879cc22faeda1511108e912d915c90d30b6e.tar.bz2 hercules-b2e1879cc22faeda1511108e912d915c90d30b6e.tar.xz hercules-b2e1879cc22faeda1511108e912d915c90d30b6e.zip |
Fix Chaotic Blessings never healing the enemy
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.
Diffstat (limited to 'src/map/rodex.c')
0 files changed, 0 insertions, 0 deletions