Skip to content

Commit dcf0e27

Browse files
committed
"Rahu Dragontail" fix
- fixed a bug where "Ash Blossom & Joyous Spring" would not be able to negate its effect
1 parent a3b539b commit dcf0e27

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

pre-release/c100442009.lua

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
--scripted by Naim
44
local s,id=GetID()
55
function s.initial_effect(c)
6-
local params={handler=c,fusfilter=aux.FilterBoolFunction(Card.IsSetCard,SET_DRAGONTAIL),extrafil=s.extramat,stage2=s.summonlimit}
6+
local params={handler=c,fusfilter=aux.FilterBoolFunction(Card.IsSetCard,SET_DRAGONTAIL),extrafil=s.extramat,stage2=s.summonlimit,extratg=s.extratg}
77
--Fusion Summon 1 "Dragontail" Fusion Monster from your Extra Deck, using monsters from your hand, Deck, and/or field
88
local e1=Fusion.CreateSummonEff(params)
99
e1:SetCountLimit(1,id,EFFECT_COUNT_CODE_OATH)
@@ -13,6 +13,10 @@ s.listed_series={SET_DRAGONTAIL}
1313
function s.extramat(e,tp,mg)
1414
return Duel.GetMatchingGroup(Fusion.IsMonsterFilter(Card.IsAbleToGrave),tp,LOCATION_DECK,0,nil)
1515
end
16+
function s.extratg(e,tp,eg,ep,ev,re,r,rp,chk)
17+
if chk==0 then return true end
18+
Duel.SetPossibleOperationInfo(0,CATEGORY_TOGRAVE,nil,0,tp,LOCATION_DECK)
19+
end
1620
function s.summonlimit(e,tc,tp,mg,chk)
1721
if chk==2 then
1822
if not e:IsHasType(EFFECT_TYPE_ACTIVATE) then return end

0 commit comments

Comments
 (0)