Skip to content

Commit

Permalink
fix(dynamis): ensure white procs can't happen without SJ_RESTRICTION …
Browse files Browse the repository at this point in the history
…effect

Changes the check for white procs to ensure player has SJ_RESTRICTION
  • Loading branch information
sruon committed Dec 26, 2024
1 parent 33519ad commit e283cd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/globals/dynamis.lua
Original file line number Diff line number Diff line change
Expand Up @@ -823,7 +823,7 @@ xi.dynamis.procMonster = function(mob, player)

local extensions = getExtensions(player)
if extensions > 2 then
if player:getSubJob() == xi.job.NONE and math.random(1, 100) == 1 then
if player:hasStatusEffect(xi.effect.SJ_RESTRICTION) and math.random(1, 100) == 1 then
mob:setLocalVar('dynamis_proc', 4)
mob:addStatusEffect(xi.effect.TERROR, 0, 0, 30)
mob:weaknessTrigger(3)
Expand Down

0 comments on commit e283cd2

Please sign in to comment.