Commit 54db2866 authored by sidschingis's avatar sidschingis

setcode change

changed setcodes to match
!setcode 0x9f Entermate
!setcode 0xa0 Legendary Knight
!setcode 0xa1 Legendary Dragon
!setcode 0xa2 Dark Magician
!setcode 0xa3 Fusion
!setcode 0xa4 Stardust
!setcode 0xa5 Change
parent 8352786e
...@@ -19,7 +19,7 @@ function c1784686.initial_effect(c) ...@@ -19,7 +19,7 @@ function c1784686.initial_effect(c)
--c:RegisterEffect(e2) --c:RegisterEffect(e2)
end end
function c1784686.tgfilter(c,e,tp) function c1784686.tgfilter(c,e,tp)
return c:IsFaceup() and c:IsSetCard(0xa1) return c:IsFaceup() and c:IsSetCard(0xa2)
and c:IsCanBeFusionMaterial() and not c:IsImmuneToEffect(e) and c:IsCanBeFusionMaterial() and not c:IsImmuneToEffect(e)
and Duel.IsExistingMatchingCard(c1784686.spfilter,tp,LOCATION_EXTRA,0,1,nil,e,tp,c:GetCode()) and Duel.IsExistingMatchingCard(c1784686.spfilter,tp,LOCATION_EXTRA,0,1,nil,e,tp,c:GetCode())
end end
......
...@@ -12,7 +12,7 @@ function c47264717.initial_effect(c) ...@@ -12,7 +12,7 @@ function c47264717.initial_effect(c)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
function c47264717.cfilter(c) function c47264717.cfilter(c)
return c:IsSetCard(0xa2) and c:IsFaceup() return c:IsSetCard(0xa4) and c:IsFaceup()
end end
function c47264717.condition(e,tp,eg,ep,ev,re,r,rp) function c47264717.condition(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsExistingMatchingCard(c47264717.cfilter,tp,LOCATION_MZONE,LOCATION_MZONE,1,nil) return Duel.IsExistingMatchingCard(c47264717.cfilter,tp,LOCATION_MZONE,LOCATION_MZONE,1,nil)
......
...@@ -18,10 +18,10 @@ function c89397517.cost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -18,10 +18,10 @@ function c89397517.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.Release(sg,REASON_COST) Duel.Release(sg,REASON_COST)
end end
function c89397517.rmfilter(c) function c89397517.rmfilter(c)
return c:IsType(TYPE_SPELL) and c:IsAbleToRemove() and c:IsSetCard(0xa0) return c:IsType(TYPE_SPELL) and c:IsAbleToRemove() and c:IsSetCard(0xa1)
end end
function c89397517.spfilter(c,e,tp) function c89397517.spfilter(c,e,tp)
return c:IsType(TYPE_MONSTER) and c:IsCanBeSpecialSummoned(e,0,tp,true,false) and c:IsSetCard(0x9f) return c:IsType(TYPE_MONSTER) and c:IsCanBeSpecialSummoned(e,0,tp,true,false) and c:IsSetCard(0xa0)
end end
function c89397517.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c89397517.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chk==0 then return if chk==0 then return
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment