Skip to content

Commit

Permalink
Add Gamblesprint to config options
Browse files Browse the repository at this point in the history
  • Loading branch information
sida-wang committed Dec 2, 2023
1 parent a97ef1c commit 4180108
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Modules/ConfigOptions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1398,6 +1398,9 @@ Huge sets the radius to 11.
{ var = "conditionHaveManaStorm", type = "check", label = "Do you have Manastorm's ^xADAA47Lightning ^7Buff?", ifFlag = "Condition:HaveManaStorm", tooltip = "This option enables Manastorm's ^xADAA47Lightning ^7Damage Buff.\n(When you cast a Spell, Sacrifice all ^x7070FFMana ^7to gain Added Maximum ^xADAA47Lightning ^7Damage\nequal to 25% of Sacrificed ^x7070FFMana ^7for 4 seconds)", apply = function(val, modList, enemyModList)
modList:NewMod("Condition:SacrificeManaForLightning", "FLAG", true, "Config", { type = "Condition", var = "Combat" })
end },
{ var = "GamblesprintMovementSpeed", type = "list", label = "Gamblesprint Movement Speed", defaultIndex=5, list={{val=-40,label="-40%"},{val=-20,label="-20%"},{val=0,label="0%"},{val=20,label="20%"},{val=30,label="30%"},{val=40,label="40%"},{val=60,label="60%"},{val=80,label="80%"},{val=100,label="100%"}}, ifFlag = "Condition:HaveGamblesprint", tooltip = "This options sets the Movement Speed from Gamblesprint boots.", apply = function(val, modList, enemyModList)

Check warning on line 1401 in src/Modules/ConfigOptions.lua

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (Gamblesprint)

Check warning on line 1401 in src/Modules/ConfigOptions.lua

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (Gamblesprint)

Check warning on line 1401 in src/Modules/ConfigOptions.lua

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (Gamblesprint)

Check warning on line 1401 in src/Modules/ConfigOptions.lua

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (Gamblesprint)
modList:NewMod("MovementSpeed", "INC", val, "Config", { type = "Condition", var = "Combat" })
end },
{ var = "buffFanaticism", type = "check", label = "Do you have Fanaticism?", ifFlag = "Condition:CanGainFanaticism", tooltip = "This will enable the Fanaticism buff itself. (Grants 75% more cast speed, reduced skill cost, and increased area of effect)", apply = function(val, modList, enemyModList)
modList:NewMod("Condition:Fanaticism", "FLAG", true, "Config", { type = "Condition", var = "Combat" }, { type = "Condition", var = "CanGainFanaticism" })
end },
Expand Down
3 changes: 3 additions & 0 deletions src/Modules/ModParser.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4406,6 +4406,9 @@ local specialModList = {
["every 8 seconds, gain avatar of fire for 4 seconds"] = {
flag("Condition:HaveVulconus"),
},
["when hit, gain a random movement speed modifier from 40%% reduced to 100%% increased until hit again"] = {
flag("Condition:HaveGamblesprint"),

Check warning on line 4410 in src/Modules/ModParser.lua

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (Gamblesprint)
},
["trigger socketed curse spell when you cast a curse spell, with a ([%d%.]+) second cooldown"] = {
mod("ExtraSupport", "LIST", { skillId = "SupportUniqueCastCurseOnCurse", level = 1 }, { type = "SocketedIn", slotName = "{SlotName}" }),
},
Expand Down

0 comments on commit 4180108

Please sign in to comment.