Skip to content
Permalink
Browse files

fixes EasyRPG#1748. maybe it is not the best possible solution but it…

… works.
  • Loading branch information...
Tondorian committed Apr 17, 2019
1 parent dea4f9c commit 189aa46b77be01282e8fc1afd640d750c3d50473
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/game_battlealgorithm.cpp
@@ -1263,6 +1263,7 @@ bool Game_BattleAlgorithm::Skill::Execute() {
if (IsRevived() && !skill.affect_hp) {
this->hp = std::max<int>(0, std::min<int>(GetTarget()->GetMaxHp() - GetTarget()->GetHp(),
GetTarget()->GetMaxHp() * effect / 10));
this->healed_conditions.push_back(1);
this->success = true;
}
}

0 comments on commit 189aa46

Please sign in to comment.
You can’t perform that action at this time.