mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-15 01:24:45 +02:00
Merge pull request #4476 from IvanSavenko/mod_repo_160
Use 1.6 repository for mods
This commit is contained in:
@ -587,7 +587,7 @@
|
|||||||
},
|
},
|
||||||
"defaultRepositoryURL" : {
|
"defaultRepositoryURL" : {
|
||||||
"type" : "string",
|
"type" : "string",
|
||||||
"default" : "https://raw.githubusercontent.com/vcmi/vcmi-mods-repository/develop/vcmi-1.5.json",
|
"default" : "https://raw.githubusercontent.com/vcmi/vcmi-mods-repository/develop/vcmi-1.6.json",
|
||||||
},
|
},
|
||||||
"extraRepositoryEnabled" : {
|
"extraRepositoryEnabled" : {
|
||||||
"type" : "boolean",
|
"type" : "boolean",
|
||||||
|
@ -763,7 +763,7 @@ void BattleFlowProcessor::stackTurnTrigger(const CBattleInfoCallback & battle, c
|
|||||||
|
|
||||||
auto &levelInfo = spell->getLevelInfo(bonus->val);
|
auto &levelInfo = spell->getLevelInfo(bonus->val);
|
||||||
bool isDamageSpell = spell->isDamage() || spell->isOffensive();
|
bool isDamageSpell = spell->isDamage() || spell->isOffensive();
|
||||||
if (!isDamageSpell || levelInfo.smartTarget || levelInfo.range != "X")
|
if (!isDamageSpell || levelInfo.smartTarget || !levelInfo.range.empty())
|
||||||
{
|
{
|
||||||
parameters.massive = true;
|
parameters.massive = true;
|
||||||
parameters.smart = true;
|
parameters.smart = true;
|
||||||
|
Reference in New Issue
Block a user