Skip to content

Commit 5c877f4

Browse files
authored
Added new utility function
aux.StatChangeDamageStepCondition
1 parent f7cb8b8 commit 5c877f4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

utility.lua

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1436,6 +1436,10 @@ function Auxiliary.PuzzleOp(e,tp)
14361436
end
14371437

14381438

1439+
function Auxiliary.StatChangeDamageStepCondition()
1440+
return not (Duel.IsPhase(PHASE_DAMAGE) and Duel.IsDamageCalculated())
1441+
end
1442+
14391443
--Default cost function for "You can Tribute this card; .."
14401444
function Auxiliary.selfreleasecost(e,tp,eg,ep,ev,re,r,rp,chk)
14411445
local c=e:GetHandler()

0 commit comments

Comments
 (0)