Skip to content

Commit 1ff736f

Browse files
committed
"Plasma Eel" fix
Fixed a bug in which it would attempt to apply the effect to decrease its ATK even when it was not equipped to a monster
1 parent 538df62 commit 1ff736f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

unofficial/c511000163.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ function s.eqop(e,tp,eg,ep,ev,re,r,rp)
6666
e3:SetCode(EVENT_PHASE+PHASE_END)
6767
e3:SetRange(LOCATION_SZONE)
6868
e3:SetCountLimit(1)
69-
e3:SetCondition(function(e,tp) return Duel.IsTurnPlayer(1-tp) end)
69+
e3:SetCondition(function(e,tp) return Duel.IsTurnPlayer(1-tp) and e:GetHandler():GetEquipTarget() end)
7070
e3:SetOperation(s.atkop)
7171
e3:SetReset(RESET_EVENT|RESETS_STANDARD)
7272
c:RegisterEffect(e3)

0 commit comments

Comments
 (0)