mirror of
https://github.com/vcmi/vcmi.git
synced 2025-02-03 13:01:33 +02:00
[863] Fix spells amount (#867)
This commit is contained in:
parent
40585a66c0
commit
0db05db920
@ -611,9 +611,6 @@ CCreature * CCreatureHandler::loadFromJson(const std::string & scope, const Json
|
||||
if(!node["shots"].isNull())
|
||||
cre->addBonus(node["shots"].Integer(), Bonus::SHOTS);
|
||||
|
||||
if(!node["spellPoints"].isNull())
|
||||
cre->addBonus(node["spellPoints"].Integer(), Bonus::CASTS);
|
||||
|
||||
loadStackExperience(cre, node["stackExperience"]);
|
||||
loadJsonAnimation(cre, node["graphics"]);
|
||||
loadCreatureJson(cre, node);
|
||||
|
Loading…
x
Reference in New Issue
Block a user