You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add support for "Watch How I Do It" (Tactician Ascendancy Notable) (#931)
* Adjust SumInternal from ModDB to work with source that contain multiple ":"
* Add isMartialWeapon local function to CalcOffence
* Add certain weapon base stats to output in CalcOffence for "PerStat" mods
* Add support for "Watch How I Do It" (Tactician Ascendancy Notable)
* Fix typo "calssified" to "classified"
---------
Co-authored-by: majochem <majochem@users.noreply.github.com>
Co-authored-by: LocalIdentity <31035929+LocalIdentity@users.noreply.github.com>
Copy file name to clipboardExpand all lines: src/Data/ModCache.lua
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -2817,7 +2817,7 @@ c["Allies in your Presence deal 50% increased Damage"]={{[1]={flags=0,keywordFla
2817
2817
c["Allies in your Presence deal 6 to 10 additional Attack Fire Damage"]={{[1]={flags=0,keywordFlags=0,name="ExtraAura",type="LIST",value={mod={flags=0,keywordFlags=65536,name="FireMin",type="BASE",value=6},onlyAllies=true}},[2]={flags=0,keywordFlags=0,name="ExtraAura",type="LIST",value={mod={flags=0,keywordFlags=65536,name="FireMax",type="BASE",value=10},onlyAllies=true}}},nil}
2818
2818
c["Allies in your Presence deal 70% increased Damage"]={{[1]={flags=0,keywordFlags=0,name="ExtraAura",type="LIST",value={mod={flags=0,keywordFlags=0,name="Damage",type="INC",value=70},onlyAllies=true}}},nil}
2819
2819
c["Allies in your Presence gain added Attack Damage equal"]={nil,"added Attack Damage equal "}
2820
-
c["Allies in your Presence gain added Attack Damage equal to 25% of your main hand Weapon's Damage"]={nil,"added Attack Damage equal to 25% of your main hand Weapon's Damage "}
2820
+
c["Allies in your Presence gain added Attack Damage equal to 25% of your main hand Weapon's Damage"]={{[1]={flags=0,keywordFlags=0,name="ExtraAura",type="LIST",value={mod={flags=0,keywordFlags=0,name="GainMainHandDmgFromParent",type="FLAG",value=true},onlyAllies=true}},[2]={flags=0,keywordFlags=0,name="Multiplier:MainHandDamageToAllies",type="BASE",value=25}},nil}
2821
2821
c["Allies in your Presence have +100 to Accuracy Rating"]={{[1]={flags=0,keywordFlags=0,name="ExtraAura",type="LIST",value={mod={flags=0,keywordFlags=0,name="Accuracy",type="BASE",value=100},onlyAllies=true}}},nil}
2822
2822
c["Allies in your Presence have +16% to all Elemental Resistances"]={{[1]={flags=0,keywordFlags=0,name="ExtraAura",type="LIST",value={mod={flags=0,keywordFlags=0,name="ElementalResist",type="BASE",value=16},onlyAllies=true}}},nil}
2823
2823
c["Allies in your Presence have 15% increased Attack Speed"]={{[1]={flags=0,keywordFlags=0,name="ExtraAura",type="LIST",value={mod={flags=1,keywordFlags=0,name="Speed",type="INC",value=15},onlyAllies=true}}},nil}
-- Add bonus mods for Tactician's "Watch How I Do It" (technically this could be done in ModParser, but it would always add 10 mods instead of just the necessary ones)
655
+
ifactor.parentandactor.modDB:Flag(nil, "GainMainHandDmgFromParent") andactor.parent.itemList["Weapon 1"] then
656
+
localmodSource=""
657
+
fori, valueinipairs(actor.modDB:Tabulate("FLAG", nil, "GainMainHandDmgFromParent")) do
0 commit comments