mirror of
https://github.com/vcmi/vcmi.git
synced 2024-11-24 08:32:34 +02:00
Quick-fix for transmutation skill - same as in SUMMON_GUARDIANS
This commit is contained in:
parent
2fad687691
commit
6435217a8c
@ -5730,6 +5730,11 @@ void CGameHandler::handleAfterAttackCasting(bool ranged, const CStack * attacker
|
||||
removeUnits.changedStacks.emplace_back(defender->unitId(), UnitChanges::EOperation::REMOVE);
|
||||
sendAndApply(&removeUnits);
|
||||
sendAndApply(&addUnits);
|
||||
|
||||
// send empty event to client
|
||||
// temporary(?) workaround to force animations to trigger
|
||||
StacksInjured fakeEvent;
|
||||
sendAndApply(&fakeEvent);
|
||||
}
|
||||
|
||||
if(attacker->hasBonusOfType(BonusType::DESTRUCTION, 0) || attacker->hasBonusOfType(BonusType::DESTRUCTION, 1))
|
||||
|
Loading…
Reference in New Issue
Block a user