소스 검색

[863] Fix spells amount (#867)

Nordsoft91 3 년 전
부모
커밋
0db05db920
1개의 변경된 파일0개의 추가작업 그리고 3개의 파일을 삭제
  1. 0 3
      lib/CCreatureHandler.cpp

+ 0 - 3
lib/CCreatureHandler.cpp

@@ -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);