|
@@ -109,6 +109,7 @@ public:
|
|
|
FactionID getFaction() const override;
|
|
|
|
|
|
virtual ui64 getPower() const;
|
|
|
+ virtual ui64 getCost() const;
|
|
|
CCreature::CreatureQuantityId getQuantityID() const;
|
|
|
std::string getQuantityTXT(bool capitalized = true) const;
|
|
|
virtual int getExpRank() const;
|
|
@@ -274,6 +275,7 @@ public:
|
|
|
int stacksCount() const;
|
|
|
virtual bool needsLastStack() const; //true if last stack cannot be taken
|
|
|
ui64 getArmyStrength() const; //sum of AI values of creatures
|
|
|
+ ui64 getArmyCost() const; //sum of cost of creatures
|
|
|
ui64 getPower(const SlotID & slot) const; //value of specific stack
|
|
|
std::string getRoughAmount(const SlotID & slot, int mode = 0) const; //rough size of specific stack
|
|
|
std::string getArmyDescription() const;
|