From 6f727ca3f081040b2ddca15262898fcad539b7d0 Mon Sep 17 00:00:00 2001 From: Openarl Date: Sat, 1 Sep 2018 10:13:58 +1000 Subject: [PATCH] Release 1.4.104 - Fixed error message from Spiritual Command --- CHANGELOG.md | 3 +++ Modules/CalcOffence-3_0.lua | 2 +- changelog.txt | 2 ++ manifest.xml | 6 +++--- 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7b1864bc..a3918b1e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +### 1.4.104 - 2018/09/01 + * Fixed error message caused by Spiritual Command + ### 1.4.103 - 2018/09/01 * Added the following new uniques: * Aul's Uprising diff --git a/Modules/CalcOffence-3_0.lua b/Modules/CalcOffence-3_0.lua index ee6cfe40..ba471655 100644 --- a/Modules/CalcOffence-3_0.lua +++ b/Modules/CalcOffence-3_0.lua @@ -181,7 +181,7 @@ function calcs.offence(env, actor) -- Minion Attack Speed conversion from Spiritual Command for _, value in ipairs(modDB:Sum("LIST", env.player.mainSkill.skillCfg, "MinionModifier")) do if value.mod.name == "Speed" and value.mod.type == "INC" and (value.mod.flags == 0 or band(value.mod.flags, ModFlag.Attack) ~= 0) then - modDB:NewMod("Speed", "INC", mod.value, mod.source, ModFlag.Attack, mod.keywordFlags, unpack(mod)) + modDB:NewMod("Speed", "INC", value.mod.value, value.mod.source, ModFlag.Attack, value.mod.keywordFlags, unpack(value.mod)) end end end diff --git a/changelog.txt b/changelog.txt index aa14dc11..f04495c5 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,5 @@ +VERSION[1.4.104][2018/09/01] + * Fixed error message caused by Spiritual Command VERSION[1.4.103][2018/09/01] * Added the following new uniques: * Aul's Uprising diff --git a/manifest.xml b/manifest.xml index 48f695ae..60dd85b0 100644 --- a/manifest.xml +++ b/manifest.xml @@ -1,13 +1,13 @@ - + - + @@ -60,7 +60,7 @@ - +