1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

Update docs to be in line with existing code.

This commit is contained in:
Tomasz Zieliński 2024-03-14 10:22:15 +01:00
parent 8ef7daf45a
commit a93dd25867
2 changed files with 2 additions and 2 deletions

View File

@ -515,7 +515,7 @@ canLearnSpells
```jsonc
"creatures" : [
{
"creature" : "archer",
"type" : "archer",
"upgradeChance" : 30,
"amount" : 20,
}

View File

@ -60,7 +60,7 @@ void CRewardableObject::grantAllRewardsWthMessage(const CGHeroInstance * context
for (auto index : rewardIndices)
{
// TODO: Allow a single message for multiple / all rewards?
// TODO: Merge all rewards of same type, with single message?
grantRewardWithMessage(contextHero, index, false);
}
// Mark visited only after all rewards were processed