Skip to content

Commit 84f9b34

Browse files
committed
"Gladiator Beast Claudius" fix
Fixed a bug where certain "Gladiator Beast" monsters would not recognize that they were summoned by a "Gladiator Beast" when the effect of Claudius was used
1 parent e00a61e commit 84f9b34

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

official/c48958757.lua

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,9 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
8080
if op==1 and Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end
8181
local spfilter=op==1 and s.deckspfilter or s.extraspfilter
8282
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
83-
local g=Duel.SelectMatchingCard(tp,spfilter,tp,sum_loc,0,1,1,nil,e,tp)
83+
local tc=Duel.SelectMatchingCard(tp,spfilter,tp,sum_loc,0,1,1,nil,e,tp):GetFirst()
8484
if #g>0 then
85-
Duel.SpecialSummon(g,100,tp,tp,op==2,false,POS_FACEUP)
85+
Duel.SpecialSummon(tc,100,tp,tp,op==2,false,POS_FACEUP)
86+
tc:RegisterFlagEffect(tc:GetOriginalCode(),RESET_EVENT|RESETS_STANDARD_DISABLE,0,0)
8687
end
8788
end

0 commit comments

Comments
 (0)