Skip to content

Commit 76253e3

Browse files
committed
Fix Card.CanGetPiercingRush not accounting for puzzle mode
Use Duel.IsAbleToEnterBP instead of checking for turn count to not be 1
1 parent 9556d87 commit 76253e3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

proc_rush.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ end
294294
--Utility functions for Rush
295295
--Returns true if a monster can get a piercing effect as per Rush rules
296296
function Card.CanGetPiercingRush(c)
297-
if c:IsHasEffect(EFFECT_CANNOT_ATTACK) or Duel.GetTurnCount()==1 then return false end
297+
if c:IsHasEffect(EFFECT_CANNOT_ATTACK) or not Duel.IsAbleToEnterBP() then return false end
298298
local e=c:IsHasEffect(EFFECT_PIERCE)
299299
if e==nil then return true end
300300
return e:GetReset()==0

0 commit comments

Comments
 (0)