Skip to content

Commit ddf7c38

Browse files
authored
Update utility.lua
fixed Cost.HardOncePerChain function
1 parent 97a2866 commit ddf7c38

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

utility.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1607,8 +1607,8 @@ end
16071607

16081608
function Cost.HardOncePerChain(flag)
16091609
return function(e,tp,eg,ep,ev,re,r,rp,chk)
1610-
if chk==0 then return not Duel.HasFlagEffect(tp,id) end
1611-
Duel.RegisterFlagEffect(tp,id,RESET_CHAIN,0,1)
1610+
if chk==0 then return not Duel.HasFlagEffect(tp,flag) end
1611+
Duel.RegisterFlagEffect(flag,id,RESET_CHAIN,0,1)
16121612
end
16131613
end
16141614

0 commit comments

Comments
 (0)