Fixed: duplicated bonusing building. Improved: opposite bonus propagation

This commit is contained in:
Dmitry Orlov
2021-09-12 14:30:54 +03:00
parent 2a39c401b8
commit 30b879ae5d
23 changed files with 184 additions and 245 deletions
+1 -1
View File
@@ -78,7 +78,7 @@ public:
void startBattleI(const CArmedInstance *army1, const CArmedInstance *army2, int3 tile, bool creatureBank = false) override {}; //if any of armies is hero, hero will be used
void startBattleI(const CArmedInstance *army1, const CArmedInstance *army2, bool creatureBank = false) override {}; //if any of armies is hero, hero will be used, visitable tile of second obj is place of battle
bool moveHero(ObjectInstanceID hid, int3 dst, ui8 teleporting, bool transit = false, PlayerColor asker = PlayerColor::NEUTRAL) override {return false;};
bool garrisonSwapOnSiege(ObjectInstanceID tid) override {};
bool swapGarrisonOnSiege(ObjectInstanceID tid) override {};
void giveHeroBonus(GiveBonus * bonus) override {};
void setMovePoints(SetMovePoints * smp) override {};
void setManaPoints(ObjectInstanceID hid, int val) override {};