1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-03 00:46:55 +02:00

vcmi: skill-agnostic first aid

Now first aid is passive battle spell, and skill just bumps
specific spell power for this spell. Everything about healing
is handled into Heal spell effect.
This commit is contained in:
Konstantin
2023-02-21 21:46:08 +03:00
parent a0987313ba
commit 84f53485e2
10 changed files with 116 additions and 63 deletions

View File

@ -110,15 +110,6 @@ void BattleEffectsController::startAction(const BattleAction* action)
break;
}
//displaying special abilities
auto actionTarget = action->getTarget(owner.curInt->cb.get());
switch(action->actionType)
{
case EActionType::STACK_HEAL:
displayEffect(EBattleEffect::REGENERATION, "REGENER", actionTarget.at(0).hexValue);
break;
}
owner.waitForAnimationCondition(EAnimationEvents::ACTION, false);
}