Skip to content

Commit afdb94e

Browse files
authored
"Mind Scan" update
Fixed an incorrect condition in EFFECT_PUBLIC
1 parent e5fdc39 commit afdb94e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

skill/c300201008.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ function s.flipop(e,tp,eg,ep,ev,re,r,rp)
2121
e1:SetProperty(EFFECT_FLAG_SET_AVAILABLE)
2222
e1:SetCode(EFFECT_PUBLIC)
2323
e1:SetRange(0x5f)
24-
e1:SetCondition(function(e,tp) return Duel.HasFlagEffect(tp,id) and Duel.GetLP(tp)>=3000 end)
24+
e1:SetCondition(function(e) return Duel.HasFlagEffect(e:GetHandlerPlayer(),id) and Duel.GetLP(e:GetHandlerPlayer())>=3000 end)
2525
e1:SetTargetRange(0,LOCATION_SZONE)
2626
Duel.RegisterEffect(e1,tp)
2727
--If your LP fall below 3000, flip this card face-down.

0 commit comments

Comments
 (0)