1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-29 00:41:38 +02:00

remove healedHP calculation from battlestate

This commit is contained in:
AlexVinS
2014-11-25 19:43:34 +03:00
parent 20a058f3f9
commit fa9c1e8637
4 changed files with 14 additions and 19 deletions

View File

@ -30,6 +30,7 @@ class CBattleInfoCallback;
class BattleInfo;
struct CPackForClient;
struct BattleSpellCast;
class CRandomGenerator;
struct SpellSchoolInfo
@ -254,7 +255,6 @@ public:
}
friend class CSpellHandler;
friend class Graphics;
private:
void setIsOffensive(const bool val);
void setIsRising(const bool val);
@ -322,6 +322,10 @@ public:
{
h & objects ;
}
public:
///Client-Server events. Shall be called only when applying packets
//void afterSpellCast(BattleInfo * battle, BattleSpellCast * packet) const;
protected:
CSpell * loadFromJson(const JsonNode & json) override;
};