1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

Shackles of War implementation uses bonus system propagation instead of looking into enemy hero. Silences some warnings.

This commit is contained in:
Michał W. Urbańczyk
2012-08-29 15:27:24 +00:00
parent 78fe412375
commit 38b6435ee4
3 changed files with 5 additions and 7 deletions

View File

@@ -779,7 +779,7 @@ void CArtHandler::addBonuses()
giveArtBonus(123,Bonus::SPELL,3,1, Bonus::INDEPENDENT_MAX);
giveArtBonus(124, Bonus::SPELLS_OF_LEVEL,3,1); //Spellbinder's Hat
giveArtBonus(125, Bonus::ENEMY_CANT_ESCAPE,0); //Shackles of War
giveArtBonus(125, Bonus::BATTLE_NO_FLEEING,0, 0, battleWidePropagator); //Shackles of War
giveArtBonus(126, Bonus::BLOCK_ALL_MAGIC, 0, -1, battleWidePropagator);//Orb of Inhibition
//vial of dragon blood