Skip to content

Commit

Permalink
Add support The Trickster's Smile 3.23
Browse files Browse the repository at this point in the history
  • Loading branch information
sida-wang committed Dec 3, 2023
1 parent 23b9a5b commit ea77e3b
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/Data/Uniques/Special/New.lua
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ Your Maximum Endurance Charges is equal to your Maximum Frenzy Charges
]],[[
Ixchel's Temptation
Gold Ring
League: Affliction
Requires Level 20
Implicits: 1
(6-15)% increased Rarity of Items found
Expand All @@ -50,6 +51,7 @@ Corrupted
]],[[
Gamblesprint
Hydrascale Boots
League: Affliction
Requires Level 59, 56 Str, 56 Dex
+(34-34) to Dexterity
(140-140)% increased Armour and Evasion
Expand All @@ -58,6 +60,7 @@ When Hit, gain a random Movement Speed modifier from 40% reduced to 100% increas
]],[[
Pragmatism
Colosseum Plate
League: Affliction
Implicits: 0
+12 to Level of Socketed Skill Gems
(100-100)% increased Armour
Expand All @@ -66,13 +69,24 @@ Implicits: 0
]],[[
The Untouched Soul
Gold Amulet
League: Affliction
Requires Level 48
Implicits: 1
(12-20)% increased Rarity of Items found
+40 to maximum Life for each Empty Red Socket on any Equipped Item
+225 to Accuracy Rating for each Empty Green Socket on any Equipped Item
+40 to maximum Mana for each Empty Blue Socket on any Equipped Item
+18 to all Elemental Resistances for each Empty White Socket on any Equipped Item
]],[[
The Trickster's Smile
Visored Sallet
League: Affliction
Implicits: 0
(75-75)% increased Armour and Evasion
Reflects 100 Cold Damage to Melee Attackers
Reflects 100 Fire Damage to Melee Attackers
Reflects 100 Lightning Damage to Melee Attackers
When an Enemy Hit deals Elemental Damage to you, their Resistance to those Elements becomes zero for 4 seconds
]]

-- Reworked
Expand Down
9 changes: 9 additions & 0 deletions src/Modules/ConfigOptions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1647,6 +1647,15 @@ Huge sets the radius to 11.
{ var = "conditionBetweenYouAndLinkedTarget", type = "check", label = "Is the enemy in your Link beams?", ifEnemyCond = "BetweenYouAndLinkedTarget", tooltip = "This option sets whether an enemy is between you and your linked target.", apply = function(val, modList, enemyModList)
enemyModList:NewMod("Condition:BetweenYouAndLinkedTarget", "FLAG", true, "Config", { type = "Condition", var = "Effective" })
end },
{ var = "conditionEnemyFireResZero", type = "check", label = "Enemy hit you with ^xB97123Fire Damage^7?", ifFlag = "Condition:HaveTrickstersSmile", tooltip = "This option sets whether or not the enemy has hit you with Fire Damage in the last 4 seconds.", apply = function(val, modList, enemyModList)
enemyModList:NewMod("FireResist", "OVERRIDE", 0, "Config", { type = "Condition", var = "Effective"})
end },
{ var = "conditionEnemyColdResZero", type = "check", label = "Enemy hit you with ^x3F6DB3Cold Damage^7?", ifFlag = "Condition:HaveTrickstersSmile", tooltip = "This option sets whether or not the enemy has hit you with Cold Damage in the last 4 seconds.", apply = function(val, modList, enemyModList)
enemyModList:NewMod("ColdResist", "OVERRIDE", 0, "Config", { type = "Condition", var = "Effective"})
end },
{ var = "conditionEnemyLightningResZero", type = "check", label = "Enemy hit you with ^xADAA47Light. Damage^7?", ifFlag = "Condition:HaveTrickstersSmile", tooltip = "This option sets whether or not the enemy has hit you with Lightning Damage in the last 4 seconds.", apply = function(val, modList, enemyModList)
enemyModList:NewMod("LightningResist", "OVERRIDE", 0, "Config", { type = "Condition", var = "Effective"})
end },
-- Section: Enemy Stats
{ section = "Enemy Stats", col = 3 },
{ var = "enemyLevel", type = "count", label = "Enemy Level:", tooltip = "This overrides the default enemy level used to estimate your hit and ^x33FF77evade ^7chance.\n\nThe default level for normal enemies and standard bosses is 83.\nTheir default level is capped by your character level.\n\nThe default level for pinnacle bosses is 84, and the default level for uber pinnacle bosses is 85.\nTheir default level is not capped by your character level." },
Expand Down
1 change: 1 addition & 0 deletions src/Modules/ModParser.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4618,6 +4618,7 @@ local specialModList = {
["volatile dead and cremation penetrate (%d+)%% fire resistance per (%d+) dexterity"] = function(inc, _, num) return { mod("FirePenetration", "BASE", inc, { type = "PerStat", stat = "Dex", div = num }, { type = "SkillName", skillNameList = { "Volatile Dead", "Cremation" } }) } end,
["regenerate (%d+) mana per second while any enemy is in your righteous fire or scorching ray"] = function( num) return { mod("ManaRegen", "BASE", num, { type = "Condition", var = "InRFOrScorchingRay" }) } end,
["%+(%d+)%% to wave of conviction damage over time multiplier per ([%d%.]+) seconds of duration expired"] = function(num) return { mod("WaveOfConvictionDurationDotMulti", "INC", num) } end,
["when an enemy hit deals elemental damage to you, their resistance to those elements becomes zero for 4 seconds"] = { flag("Condition:HaveTrickstersSmile"), },
-- Pantheon: Soul of Tukohama support
["while stationary, gain ([%d%.]+)%% of life regenerated per second every second, up to a maximum of (%d+)%%"] = function(num, _, limit) return {
mod("LifeRegenPercent", "BASE", num, { type = "Multiplier", var = "StationarySeconds", limit = tonumber(limit), limitTotal = true }, { type = "Condition", var = "Stationary" }),
Expand Down

0 comments on commit ea77e3b

Please sign in to comment.