Skip to content

Commit 2b2dfc4

Browse files
authored
"R.B. Funk Dock" fix
Should only trigger if an "R.B." monster leaves the field by card effect specifically.
1 parent 43ea320 commit 2b2dfc4

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

pre-release/c101301095.lua

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ function s.initial_effect(c)
2121
e2:SetCondition(s.lpcon)
2222
e2:SetOperation(function(e) Duel.Hint(HINT_CARD,0,id) Duel.Recover(e:GetHandlerPlayer(),500,REASON_EFFECT) end)
2323
c:RegisterEffect(e2)
24-
--Special Summon 1 "R.B." monster from your Deck if a face-up "R.B." monster(s) you control leaves the field
24+
--Special Summon 1 "R.B." monster from your Deck
2525
local e3=Effect.CreateEffect(c)
2626
e3:SetDescription(aux.Stringid(id,2))
2727
e3:SetCategory(CATEGORY_SPECIAL_SUMMON)
@@ -60,6 +60,7 @@ function s.lpcon(e,tp,eg,ep,ev,re,r,rp)
6060
end
6161
function s.spconfilter(c,tp)
6262
return c:IsPreviousSetCard(SET_RB) and c:IsPreviousLocation(LOCATION_MZONE) and c:IsPreviousPosition(POS_FACEUP) and c:IsPreviousControler(tp)
63+
and c:IsReason(REASON_EFFECT)
6364
end
6465
function s.spcon(e,tp,eg,ep,ev,re,r,rp)
6566
return eg:IsExists(s.spconfilter,1,nil,tp)
@@ -79,4 +80,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
7980
if #g>0 then
8081
Duel.SpecialSummon(g,0,tp,tp,false,false,POS_FACEUP)
8182
end
82-
end
83+
end

0 commit comments

Comments
 (0)