Improving the battle, fixing bugs
This commit is contained in:
1 parent
92929118d5
commit
33c2b313af
4 files changed
+36
-1
No files matched your search
+3
-1
@@ -758,7 +758,9 @@ namespace ZL
|
||||
((loc->player->state.attackTargetIndex >= 0) &&
|
||||
(loc->npcs[loc->player->state.attackTargetIndex]->state.hp <= 0)))
|
||||
&&
|
||||
loc->player->isMoving() == false) {
|
||||
loc->player->isMoving() == false
|
||||
&&
|
||||
loc->player->getHp() > 0) {
|
||||
loc->player->state.attackTargetIndex = attackerIndex;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user