Skip to content

Commit cd72f94

Browse files
PJacekLocalIdentity
andauthored
Add support for more intelligence supports (#163)
* Add support for more intelligence supports * Move mod to gem --------- Co-authored-by: LocalIdentity <localidentity2@gmail.com>
1 parent 9eecc80 commit cd72f94

File tree

4 files changed

+231
-9
lines changed

4 files changed

+231
-9
lines changed

src/Data/SkillStatMap.lua

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -911,6 +911,9 @@ return {
911911
["lightning_damage_%_to_add_as_chaos"] = {
912912
mod("LightningDamageGainAsChaos", "BASE", nil),
913913
},
914+
["non_skill_base_all_damage_%_to_gain_as_chaos"] = {
915+
mod("DamageGainAsChaos", "BASE", nil),
916+
},
914917
["non_skill_base_all_damage_%_to_gain_as_lightning_with_attacks"] = {
915918
mod("DamageGainAsLightning", "BASE", nil, ModFlag.Attack),
916919
},
@@ -1100,6 +1103,18 @@ return {
11001103
flag("CannotFreeze"),
11011104
flag("CannotIgnite"),
11021105
},
1106+
["cannot_inflict_elemental_ailments"] = {
1107+
flag("CannotShock"),
1108+
flag("CannotChill"),
1109+
flag("CannotFreeze"),
1110+
flag("CannotIgnite"),
1111+
flag("CannotElectrocute"),
1112+
},
1113+
["active_skill_never_freeze_shock_ignite"] = {
1114+
flag("CannotFreeze"),
1115+
flag("CannotShock"),
1116+
flag("CannotIgnite"),
1117+
},
11031118
["lightning_damage_cannot_shock"] = {
11041119
flag("LightningCannotShock"),
11051120
},

src/Data/Skills/sup_int.lua

Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1006,6 +1006,11 @@ skills["SupportDrainedAilmentPlayer"] = {
10061006
label = "Drain Ailments",
10071007
incrementalEffectiveness = 0.054999999701977,
10081008
statDescriptionScope = "gem_stat_descriptions",
1009+
statMap = {
1010+
["support_drained_ailment_damage_over_time_+%_final_if_ailment_consumed"] = {
1011+
mod("Damage", "MORE", nil, ModFlag.Dot, 0, { type = "Condition", var = "AilmentConsumed" }),
1012+
},
1013+
},
10091014
baseFlags = {
10101015
},
10111016
constantStats = {
@@ -1091,7 +1096,28 @@ skills["SupportElementalDischargePlayer"] = {
10911096
label = "Elemental Discharge",
10921097
incrementalEffectiveness = 0.054999999701977,
10931098
statDescriptionScope = "skill_stat_descriptions",
1099+
statMap = {
1100+
["spell_minimum_base_fire_damage_as_%_of_intelligence"] = {
1101+
mod("FireMin", "BASE", nil, 0, KeywordFlag.Spell, { type = "PercentStat", stat = "Int", percent = 1 }, { type = "Condition", var = "IgniteConsumed" }),
1102+
},
1103+
["spell_maximum_base_fire_damage_as_%_of_intelligence"] = {
1104+
mod("FireMax", "BASE", nil, 0, KeywordFlag.Spell, { type = "PercentStat", stat = "Int", percent = 1 }, { type = "Condition", var = "IgniteConsumed" }),
1105+
},
1106+
["spell_minimum_base_cold_damage_as_%_of_intelligence"] = {
1107+
mod("ColdMin", "BASE", nil, 0, KeywordFlag.Spell, { type = "PercentStat", stat = "Int", percent = 1 }, { type = "Condition", var = "FreezeConsumed" }),
1108+
},
1109+
["spell_maximum_base_cold_damage_as_%_of_intelligence"] = {
1110+
mod("ColdMax", "BASE", nil, 0, KeywordFlag.Spell, { type = "PercentStat", stat = "Int", percent = 1 }, { type = "Condition", var = "FreezeConsumed" }),
1111+
},
1112+
["spell_minimum_base_lightning_damage_as_%_of_intelligence"] = {
1113+
mod("LightningMin", "BASE", nil, 0, KeywordFlag.Spell, { type = "PercentStat", stat = "Int", percent = 1 }, { type = "Condition", var = "ShockConsumed" }),
1114+
},
1115+
["spell_maximum_base_lightning_damage_as_%_of_intelligence"] = {
1116+
mod("LightningMax", "BASE", nil, 0, KeywordFlag.Spell, { type = "PercentStat", stat = "Int", percent = 1 }, { type = "Condition", var = "ShockConsumed" }),
1117+
},
1118+
},
10941119
baseFlags = {
1120+
spell = true,
10951121
},
10961122
constantStats = {
10971123
{ "triggered_by_supported_spell_consuming_ignite_freeze_shock_on_hit_%", 100 },
@@ -1127,6 +1153,11 @@ skills["SupportElementalFocusPlayer"] = {
11271153
label = "Elemental Focus",
11281154
incrementalEffectiveness = 0.092720001935959,
11291155
statDescriptionScope = "gem_stat_descriptions",
1156+
statMap = {
1157+
["support_gem_elemental_damage_+%_final"] = {
1158+
mod("ElementalDamage", "MORE", nil),
1159+
},
1160+
},
11301161
baseFlags = {
11311162
},
11321163
constantStats = {
@@ -1215,6 +1246,11 @@ skills["SupportExcisePlayer"] = {
12151246
label = "Excise",
12161247
incrementalEffectiveness = 0.054999999701977,
12171248
statDescriptionScope = "gem_stat_descriptions",
1249+
statMap = {
1250+
["support_crit_cooldown_crit_chance_+%_final"] = {
1251+
mod("CritChance", "MORE", nil),
1252+
},
1253+
},
12181254
baseFlags = {
12191255
},
12201256
constantStats = {
@@ -1245,6 +1281,14 @@ skills["SupportExecratePlayer"] = {
12451281
label = "Execrate",
12461282
incrementalEffectiveness = 0.054999999701977,
12471283
statDescriptionScope = "gem_stat_descriptions",
1284+
statMap = {
1285+
["support_ailment_cooldown_ailment_chance_+%_final"] = {
1286+
mod("EnemyIgniteChance", "MORE", nil),
1287+
mod("EnemyShockChance", "MORE", nil),
1288+
mod("EnemyBleedChance", "MORE", nil),
1289+
mod("EnemyPoisonChance", "MORE", nil),
1290+
},
1291+
},
12481292
baseFlags = {
12491293
},
12501294
constantStats = {
@@ -1275,6 +1319,11 @@ skills["SupportExpansePlayer"] = {
12751319
label = "Expanse",
12761320
incrementalEffectiveness = 0.054999999701977,
12771321
statDescriptionScope = "gem_stat_descriptions",
1322+
statMap = {
1323+
["support_aoe_cooldown_aoe_+%_final"] = {
1324+
mod("AreaOfEffect", "MORE", nil),
1325+
},
1326+
},
12781327
baseFlags = {
12791328
},
12801329
constantStats = {
@@ -1393,6 +1442,11 @@ skills["SupportFieryDeathPlayer"] = {
13931442
incrementalEffectiveness = 0.054999999701977,
13941443
statDescriptionScope = "skill_stat_descriptions",
13951444
baseFlags = {
1445+
spell = true,
1446+
area = true,
1447+
},
1448+
baseMods = {
1449+
skill("explodeCorpse", true),
13961450
},
13971451
constantStats = {
13981452
{ "triggered_by_fiery_death_support_%", 100 },
@@ -1481,6 +1535,11 @@ skills["SupportManaFountainPlayer"] = {
14811535
label = "Font of Mana",
14821536
incrementalEffectiveness = 0.054999999701977,
14831537
statDescriptionScope = "gem_stat_descriptions",
1538+
statMap = {
1539+
["support_mana_fountain_mana_regeneration_rate_+%"] = {
1540+
mod("ManaRegen", "INC", nil, 0, 0, { type = "GlobalEffect", effectType = "Aura" }),
1541+
},
1542+
},
14841543
baseFlags = {
14851544
},
14861545
constantStats = {
@@ -1511,6 +1570,11 @@ skills["SupportWallFortressPlayer"] = {
15111570
label = "Fortress",
15121571
incrementalEffectiveness = 0.054999999701977,
15131572
statDescriptionScope = "gem_stat_descriptions",
1573+
statMap = {
1574+
["support_wall_fortress_hit_damage_+%_final"] = {
1575+
mod("Damage", "MORE", nil),
1576+
},
1577+
},
15141578
baseFlags = {
15151579
},
15161580
constantStats = {
@@ -1572,6 +1636,11 @@ skills["SupportFrostfirePlayer"] = {
15721636
label = "Frostfire",
15731637
incrementalEffectiveness = 0.054999999701977,
15741638
statDescriptionScope = "gem_stat_descriptions",
1639+
statMap = {
1640+
["ignite_effect_+%_final_against_frozen_enemies"] = {
1641+
mod("AilmentMagnitude", "MORE", nil, 0, KeywordFlag.Ignite, { type = "ActorCondition", actor = "enemy", var = "Frozen" }),
1642+
},
1643+
},
15751644
baseFlags = {
15761645
},
15771646
constantStats = {
@@ -1746,6 +1815,11 @@ skills["SupportHourglassPlayer"] = {
17461815
label = "Hourglass",
17471816
incrementalEffectiveness = 0.054999999701977,
17481817
statDescriptionScope = "gem_stat_descriptions",
1818+
statMap = {
1819+
["support_hourglass_damage_+%_final"] = {
1820+
mod("Damage", "MORE", nil),
1821+
},
1822+
},
17491823
baseFlags = {
17501824
},
17511825
constantStats = {
@@ -1779,6 +1853,15 @@ skills["SupportIceBitePlayer"] = {
17791853
incrementalEffectiveness = 0.092720001935959,
17801854
damageIncrementalEffectiveness = 0.03770000115037,
17811855
statDescriptionScope = "gem_stat_descriptions",
1856+
statMap = {
1857+
["support_ice_bite_buff_grant_%_added_cold_attack_damage"] = {
1858+
mod("DamageGainAsCold", "BASE", nil, 0, 0, { type = "GlobalEffect", effectType = "Buff" }),
1859+
},
1860+
["support_ice_bite_base_buff_duration"] = {
1861+
mod("Duration", "BASE", nil, 0, 0, { type = "GlobalEffect", effectType = "Buff" }),
1862+
div = 1000,
1863+
},
1864+
},
17821865
baseFlags = {
17831866
},
17841867
constantStats = {
@@ -1866,7 +1949,16 @@ skills["ViciousHexSupportPlayer"] = {
18661949
incrementalEffectiveness = 0.092720001935959,
18671950
damageIncrementalEffectiveness = 0.055599998682737,
18681951
statDescriptionScope = "skill_stat_descriptions",
1952+
statMap = {
1953+
["impending_doom_base_added_chaos_damage_%_of_current_mana"] = {
1954+
mod("ChaosMin", "BASE", nil, 0, 0, { type = "PercentStat", stat = "Mana", percentVar = "DoomBlastManaPercentage" }),
1955+
mod("ChaosMax", "BASE", nil, 0, 0, { type = "PercentStat", stat = "Mana", percentVar = "DoomBlastManaPercentage" }),
1956+
div = 100,
1957+
},
1958+
},
18691959
baseFlags = {
1960+
spell = true,
1961+
area = true,
18701962
},
18711963
constantStats = {
18721964
{ "impending_doom_base_added_chaos_damage_%_of_current_mana", 15 },
@@ -1959,6 +2051,14 @@ skills["SupportChaoticAssassinationPlayer"] = {
19592051
label = "Intense Agony",
19602052
incrementalEffectiveness = 0.054999999701977,
19612053
statDescriptionScope = "gem_stat_descriptions",
2054+
statMap = {
2055+
["support_chaotic_assassination_damage_over_time_+%_final_against_full_life_enemies"] = {
2056+
mod("Damage", "MORE", nil, ModFlag.Dot, 0, { type = "ActorCondition", actor = "enemy", var = "FullLife" }),
2057+
},
2058+
["support_chaotic_assassination_skill_effect_duration_+%_final"] = {
2059+
mod("Duration", "MORE", nil),
2060+
},
2061+
},
19622062
baseFlags = {
19632063
},
19642064
constantStats = {

0 commit comments

Comments
 (0)