Updated skill data

This commit is contained in:
Openarl
2017-03-04 10:20:40 +10:00
parent 681942df1a
commit c9d0367845
11 changed files with 1300 additions and 1288 deletions

View File

@@ -1165,11 +1165,8 @@ local function performCalcs(env)
if activeSkill.buffModList and (not activeSkill.skillFlags.totem or activeSkill.skillData.allowTotemBuff) and (not activeSkill.skillData.offering or modDB:Sum("FLAG", nil, "OfferingsAffectPlayer")) then
activeSkill.buffSkill = true
local inc = modDB:Sum("INC", skillCfg, "BuffEffect")
if activeSkill.activeGem.data.golem then
inc = inc + modDB:Sum("INC", skillCfg, "GolemBuffEffect")
if modDB:Sum("FLAG", skillCfg, "LiegeOfThePrimordial") and (activeSkill.activeGem.data.fire or activeSkill.activeGem.data.cold or activeSkill.activeGem.data.lightning) then
inc = inc + 100
end
if activeSkill.activeGem.data.golem and modDB:Sum("FLAG", skillCfg, "LiegeOfThePrimordial") and (activeSkill.activeGem.data.fire or activeSkill.activeGem.data.cold or activeSkill.activeGem.data.lightning) then
inc = inc + 100
end
modDB:ScaleAddList(activeSkill.buffModList, 1 + inc / 100)
end

View File

@@ -119,6 +119,8 @@ SkillType = {
Channelled = 58,
Type59 = 59, -- Allows Contagion, Blight and Scorching Ray to be supported by Controlled Destruction
ColdSpell = 60, -- Used for Cospri's Malice
TriggeredGrantedSkill = 61, -- Skill granted by item that is automatically triggered, prevents trigger gems and trap/mine/totem from applying
Golem = 62,
}
data.itemMods = { }

View File

@@ -133,7 +133,7 @@ local modNameList = {
["radius of curses"] = { "AreaOfEffect", keywordFlags = KeywordFlag.Curse },
["buff effect"] = "BuffEffect",
["effect of buffs on you"] = "BuffEffect",
["effect of buffs granted by your golems"] = "GolemBuffEffect",
["effect of buffs granted by your golems"] = { "BuffEffect", tag = { type = "SkillType", skillType = SkillType.Golem } },
["effect of the buff granted by your stone golems"] = { "BuffEffect", tag = { type = "SkillName", skillName = "Summon Stone Golem" } },
["effect of the buff granted by your lightning golems"] = { "BuffEffect", tag = { type = "SkillName", skillName = "Summon Lightning Golem" } },
["effect of the buff granted by your ice golems"] = { "BuffEffect", tag = { type = "SkillName", skillName = "Summon Ice Golem" } },