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:
@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user