Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bind spells duration has a floor of 5 seconds if not fully resisted. #6588

Open
wants to merge 1 commit into
base: base
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions scripts/globals/spells/enfeebling_spell.lua
Original file line number Diff line number Diff line change
Expand Up @@ -449,8 +449,10 @@ xi.spells.enfeebling.useEnfeeblingSpell = function(caster, target, spell)
-- STEP 5: Exceptions.
------------------------------
-- Bind: Dependant on target speed.
-- Bind: Duration floor of 5 seconds.
if spellEffect == xi.effect.BIND then
potency = target:getSpeed()
duration = utils.clamp(duration, 5, 60)
WinterSolstice8 marked this conversation as resolved.
Show resolved Hide resolved

-- TODO: This is unnecesary, but, for now, we will comply with core.
elseif spellEffect == xi.effect.SLEEP_I then
Expand Down
Loading