1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

Added forceCombat field for ambush-like objects

This commit is contained in:
Ivan Savenko
2025-05-07 19:49:26 +03:00
parent 0e2ea99283
commit 434da3ffe1
5 changed files with 24 additions and 9 deletions

View File

@@ -25,6 +25,8 @@ protected:
/// reward selected by player, no serialize
ui16 selectedReward = 0;
void doStartBattle(const CGHeroInstance * hero) const;
void grantReward(ui32 rewardID, const CGHeroInstance * hero) const override;
void markAsVisited(const CGHeroInstance * hero) const override;