mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-06 09:09:40 +02:00
Update bonuses docs
This commit is contained in:
@@ -177,8 +177,6 @@ JsonNode Bonus::toJsonNode() const
|
||||
root["subtype"] = subtypeToJson(type, subtype);
|
||||
if(additionalInfo != CAddInfo::NONE)
|
||||
root["addInfo"] = additionalInfoToJson(type, additionalInfo);
|
||||
if(turnsRemain != 0)
|
||||
root["turns"].Integer() = turnsRemain;
|
||||
if(source != BonusSource::OTHER)
|
||||
root["sourceType"].String() = vstd::findKey(bonusSourceMap, source);
|
||||
if(targetSourceType != BonusSource::OTHER)
|
||||
|
||||
Reference in New Issue
Block a user