mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
Bring hero strength for campaigns in line with h3
This commit is contained in:
@@ -212,7 +212,8 @@ public:
|
||||
double getMagicStrength() const; // takes knowledge / spell power skill but also current mana, whether the hero owns a spell-book and whether that books contains anything into account
|
||||
double getHeroStrength() const; // includes fighting and magic strength
|
||||
|
||||
uint32_t getValueForCampaign() const;
|
||||
/// Returns true if 'left' hero is stronger than 'right' when considering campaign transfer priority
|
||||
static bool compareCampaignValue(const CGHeroInstance * left, const CGHeroInstance * right);
|
||||
uint64_t getValueForDiplomacy() const;
|
||||
|
||||
ui64 getTotalStrength() const; // includes fighting strength and army strength
|
||||
|
||||
Reference in New Issue
Block a user