Skip to content

Commit

Permalink
Update map mods (#7692)
Browse files Browse the repository at this point in the history
* update mapmods

* sort alphabetically
  • Loading branch information
Regisle authored Jul 18, 2024
1 parent 26f9d4e commit f35a704
Showing 1 changed file with 42 additions and 51 deletions.
93 changes: 42 additions & 51 deletions src/Data/ModMap.lua
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ return {
},
["Unstoppable"] = {
type = "check",
tooltipLines = { "Monsters cannot be Taunted", "Monsters' Action Speed cannot be modified to below base value" },
tooltipLines = { "Monsters cannot be Taunted", "Monsters' Action Speed cannot be modified to below Base Value", "Monsters' Movement Speed cannot be modified to below Base Value" },
values = { { 0 } },
apply = function(val, mapModEffect, modList, enemyModList)
-- MISSING: Monsters cannot be Taunted
enemyModList:NewMod("MinimumActionSpeed", "MAX", 100, "Map mod Unstoppable")
Expand Down Expand Up @@ -135,7 +136,7 @@ return {
},
["Profane"] = {
type = "count",
tooltipLines = { "Monsters deal (%d to %d)%% extra Physical Damage as Chaos", "Monsters Inflict Withered for %d seconds on Hit" },
tooltipLines = { "Monsters gain (%d to %d)%% of their Physical Damage as Extra Chaos Damage", "Monsters Inflict Withered for %d seconds on Hit" },
values = { { { 0, 0 }, { 0, 0 } }, { { 21, 25 }, { 100 } }, { { 31, 35 }, { 100 } }, },
apply = function(val, rollRange, mapModEffect, values, modList, enemyModList)
enemyModList:NewMod("PhysicalDamageGainAsChaos", "BASE", (values[val][1][1] + (values[val][1][2] - values[val][1][1]) * rollRange / 100) * mapModEffect, "Map mod Profane")
Expand All @@ -159,15 +160,15 @@ return {
},
["Impaling"] = {
type = "list",
tooltipLines = { "Monsters have %d%% chance to Impale with Attacks" },
tooltipLines = { "Monsters' Attacks have %d%% chance to Impale on Hit" },
values = { 25, 40, 60 },
apply = function(val, mapModEffect, values, modList, enemyModList)
enemyModList:NewMod("ImpaleChance", "BASE", values[val] * mapModEffect, "Map mod Impaling", ModFlag.Attack)
end
},
["Empowered"] = {
type = "list",
tooltipLines = { "Monsters have a %d%% chance to cause Elemental Ailments on Hit" },
tooltipLines = { "Monsters have a %d%% chance to Ignite, Freeze and Shock on Hit" },
values = { 0, 15, 20 },
apply = function(val, mapModEffect, values, modList, enemyModList)
end
Expand Down Expand Up @@ -209,7 +210,7 @@ return {
["of Congealment"] = {
type = "check",
label = "Cannot Leech ^xE05030Life ^7/ ^x7070FFMana?",
tooltipLines = { "Cannot Leech from Monsters" },
tooltipLines = { "Monsters cannot be Leeched from" },
apply = function(val, mapModEffect, modList, enemyModList)
enemyModList:NewMod("CannotLeechLifeFromSelf", "FLAG", true, "Map mod of Congealment")
enemyModList:NewMod("CannotLeechManaFromSelf", "FLAG", true, "Map mod of Congealment")
Expand All @@ -229,7 +230,7 @@ return {
type = "count",
label = "-X% maximum Resistances:",
tooltip = "Mid tier: 5-8%\nHigh tier: 9-12%",
tooltipLines = { "minus (%d to %d)%% maximum Player Resistances" },
tooltipLines = { "Players have minus (%d to %d)%% to all maximum Resistances" },
values = { { 0, 0 }, { 5, 8 }, { 9, 12 } },
apply = function(val, rollRange, mapModEffect, values, modList, enemyModList)
if values[val][2] ~= 0 then
Expand Down Expand Up @@ -280,14 +281,6 @@ return {
modList:NewMod("Armour", "MORE", -values[val][2] * mapModEffect, "Map mod of Rust")
end
},
["of Skirmishing"] = {
-- old map mod, doesn't exist anymore?
type = "check",
tooltipLines = { },
apply = function(val, mapModEffect, modList, enemyModList)
modList:NewMod("Keystone", "LIST", "Point Blank", "Map mod of Skirmishing")
end
},
["of Smothering"] = {
type = "list",
label = "Less Recovery Rate of ^xE05030Life ^7and ^x88FFFFEnergy Shield:",
Expand Down Expand Up @@ -369,43 +362,41 @@ return {
enemyModList:NewMod("CritMultiplier", "BASE", (values[val][2][1] + (values[val][2][2] - values[val][2][1]) * rollRange / 100) * mapModEffect, "Map mod of Deadliness")
end
},
-- other prefixes
["Antagonist's"] = {}, -- (20-30)% increased number of Rare Monsters
["Anarchic"] = {}, -- Area is inhabited by 2 additional Rogue Exiles
["Ceremonial"] = {}, -- Area contains many Totems
["Skeletal"] = {}, -- Area is inhabited by Skeletons
["Capricious"] = {}, -- Area is inhabited by Goatmen
["Slithering"] = {}, -- Area is inhabited by Sea Witches and their Spawn
["Undead"] = {}, -- Area is inhabited by Undead
["Emanant"] = {}, -- Area is inhabited by ranged monsters
["Feral"] = {}, -- Area is inhabited by Animals
["Demonic"] = {}, -- Area is inhabited by Demons
["Bipedal"] = {}, -- Area is inhabited by Humanoids
["Solar"] = {}, -- Area is inhabited by Solaris fanatics
["Lunar"] = {}, -- Area is inhabited by Lunaris fanatics
["Haunting"] = {}, -- Area is inhabited by Ghosts
["Feasting"] = {}, -- Area is inhabited by Cultists of Kitava
["Multifarious"] = {}, -- Area has increased monster variety
["Abhorrent"] = {}, -- Area is inhabited by Abominations
["Otherworldly"] = {}, -- Slaying Enemies close together can attract monsters from Beyond this realm
["Twinned"] = {}, -- Area contains two Unique Bosses
["Enthralled"] = {}, -- Unique Bosses are Possessed
["Chaining"] = {}, -- Monsters' skills Chain 2 additional times
["Splitting"] = {}, -- Monsters fire 2 additional Projectiles
-- other suffixes
["of Bloodlines"] = {}, -- (20-30)% more Magic Monsters
["of Giants"] = {}, -- Monsters have 45|70|100% increased Area of Effect
["of Flames"] = {}, -- Area has patches of Burning Ground
["of Ice"] = {}, -- Area has patches of Chilled Ground
["of Lightning"] = {}, -- Area has patches of Shocked Ground which increase Damage taken by 20|35|50%
["of Desecration"] = {}, -- Area has patches of desecrated ground
["of Consecration"] = {}, -- Area has patches of Consecrated Ground
["of Frenzy"] = {}, -- Monsters gain a Frenzy Charge on Hit
["of Endurance"] = {}, -- Monsters gain an Endurance Charge on Hit
["of Power"] = {}, -- Monsters gain a Power Charge on Hit
["of Carnage"] = {}, -- Monsters Maim on Hit with Attacks
["of Impedance"] = {}, -- Monsters Hinder on Hit with Spells
["of Enervation"] = {}, -- Monsters steal Power, Frenzy and Endurance charges on Hit
-- other Prefixes
["Abhorrent"] = { }, -- Area is inhabited by Abominations
["Antagonist's"] = { }, -- (20-30)% increased number of Rare Monsters
["Bipedal"] = { }, -- Area is inhabited by Humanoids
["Capricious"] = { }, -- Area is inhabited by Goatmen
["Ceremonial"] = { }, -- Area contains many Totems
["Chaining"] = { }, -- Monsters' skills Chain 2 additional times
["Demonic"] = { }, -- Area is inhabited by Demons
["Emanant"] = { }, -- Area is inhabited by ranged monsters
["Enthralled"] = { }, -- Unique Bosses are Possessed
["Feasting"] = { }, -- Area is inhabited by Cultists of Kitava
["Feral"] = { }, -- Area is inhabited by Animals
["Haunting"] = { }, -- Area is inhabited by Ghosts
["Lunar"] = { }, -- Area is inhabited by Lunaris fanatics
["Multifarious"] = { }, -- Area has increased monster variety
["Skeletal"] = { }, -- Area is inhabited by Skeletons
["Slithering"] = { }, -- Area is inhabited by Sea Witches and their Spawn
["Solar"] = { }, -- Area is inhabited by Solaris fanatics
["Splitting"] = { }, -- Monsters fire 2 additional Projectiles
["Twinned"] = { }, -- Area contains two Unique Bosses
["Undead"] = { }, -- Area is inhabited by Undead
-- other Suffixes
["of Bloodlines"] = { }, -- (20-30)% more Magic Monsters
["of Carnage"] = { }, -- Monsters Maim on Hit with Attacks
["of Consecration"] = { }, -- Area has patches of Consecrated Ground
["of Desecration"] = { }, -- Area has patches of desecrated ground
["of Endurance"] = { }, -- Monsters gain an Endurance Charge on Hit
["of Enervation"] = { }, -- Monsters steal Power, Frenzy and Endurance charges on Hit
["of Flames"] = { }, -- Area has patches of Burning Ground
["of Frenzy"] = { }, -- Monsters gain a Frenzy Charge on Hit
["of Giants"] = { }, -- Monsters have 45% increased Area of Effect
["of Ice"] = { }, -- Area has patches of Chilled Ground
["of Impedance"] = { }, -- Monsters Hinder on Hit with Spells
["of Lightning"] = { }, -- Area has patches of Shocked Ground which increase Damage taken by 20%
["of Power"] = { }, -- Monsters gain a Power Charge on Hit
},
Prefix = {
{ val = "NONE", label = "None" },
Expand Down

0 comments on commit f35a704

Please sign in to comment.