Commit 38d4adee authored by TanakaKotoha's avatar TanakaKotoha

strings

parent 927bc073
No preview for this file type
...@@ -23,7 +23,7 @@ function cm.initial_effect(c) ...@@ -23,7 +23,7 @@ function cm.initial_effect(c)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function cm.filter(c) function cm.filter(c)
return c:IsSetCard(0x1299) and c:IsAbleToHand() return c:IsSetCard(0xc299) and c:IsAbleToHand()
end end
function cm.shtg(e,tp,eg,ep,ev,re,r,rp,chk) function cm.shtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end if chk==0 then return true end
...@@ -38,7 +38,7 @@ function cm.shop(e,tp,eg,ep,ev,re,r,rp) ...@@ -38,7 +38,7 @@ function cm.shop(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function cm.repfilter1(c,tp) function cm.repfilter1(c,tp)
return c:IsType(TYPE_RITUAL) and c:IsType(TYPE_MONSTER) and c:IsSetCard(0x1299) return c:IsType(TYPE_RITUAL) and c:IsType(TYPE_MONSTER) and c:IsSetCard(0xc299)
end end
function cm.repfilter2(c,tp) function cm.repfilter2(c,tp)
return c:IsOnField() and c:IsControler(tp) and c:IsReason(REASON_EFFECT+REASON_BATTLE) and not c:IsReason(REASON_REPLACE) return c:IsOnField() and c:IsControler(tp) and c:IsReason(REASON_EFFECT+REASON_BATTLE) and not c:IsReason(REASON_REPLACE)
......
...@@ -30,7 +30,7 @@ function cm.initial_effect(c) ...@@ -30,7 +30,7 @@ function cm.initial_effect(c)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function cm.filter(c) function cm.filter(c)
return c:IsSetCard(0x1299) and not (c:IsType(TYPE_RITUAL) and c:IsType(TYPE_MONSTER)) and c:IsAbleToHand() return c:IsSetCard(0xc299) and not (c:IsType(TYPE_RITUAL) and c:IsType(TYPE_MONSTER)) and c:IsAbleToHand()
end end
function cm.thtg(e,tp,eg,ep,ev,re,r,rp,chk) function cm.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(cm.filter,tp,LOCATION_DECK,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(cm.filter,tp,LOCATION_DECK,0,1,nil) end
......
...@@ -28,7 +28,7 @@ function cm.initial_effect(c) ...@@ -28,7 +28,7 @@ function cm.initial_effect(c)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function cm.filter(c) function cm.filter(c)
return c:IsSetCard(0x1299) and c:IsType(TYPE_RITUAL) and c:IsType(TYPE_MONSTER) and not c:IsCode(m) and c:IsAbleToHand() return c:IsSetCard(0xc299) and c:IsType(TYPE_RITUAL) and c:IsType(TYPE_MONSTER) and not c:IsCode(m) and c:IsAbleToHand()
end end
function cm.thtg(e,tp,eg,ep,ev,re,r,rp,chk) function cm.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(cm.filter,tp,LOCATION_DECK,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(cm.filter,tp,LOCATION_DECK,0,1,nil) end
......
...@@ -29,7 +29,7 @@ function cm.initial_effect(c) ...@@ -29,7 +29,7 @@ function cm.initial_effect(c)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function cm.filter(c) function cm.filter(c)
return c:IsSetCard(0x1299) and not c:IsCode(m) and c:IsAbleToDeck() return c:IsSetCard(0xc299) and not c:IsCode(m) and c:IsAbleToDeck()
end end
function cm.thtg(e,tp,eg,ep,ev,re,r,rp,chk) function cm.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(cm.filter,tp,LOCATION_GRAVE,0,1,e:GetHandler()) end if chk==0 then return Duel.IsExistingMatchingCard(cm.filter,tp,LOCATION_GRAVE,0,1,e:GetHandler()) end
......
...@@ -29,7 +29,7 @@ function cm.initial_effect(c) ...@@ -29,7 +29,7 @@ function cm.initial_effect(c)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function cm.filter(c) function cm.filter(c)
return c:IsSetCard(0x1299) and c:IsFaceup() and not c:IsCode(m) and c:IsAbleToGrave() return c:IsSetCard(0xc299) and c:IsFaceup() and not c:IsCode(m) and c:IsAbleToGrave()
end end
function cm.thtg(e,tp,eg,ep,ev,re,r,rp,chk) function cm.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(cm.filter,tp,LOCATION_REMOVED,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(cm.filter,tp,LOCATION_REMOVED,0,1,nil) end
......
...@@ -17,10 +17,10 @@ function cm.initial_effect(c) ...@@ -17,10 +17,10 @@ function cm.initial_effect(c)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function cm.filter(c) function cm.filter(c)
return c:IsSetCard(0x1299) and (c:IsLocation(LOCATION_HAND) or c:IsFaceup()) return c:IsSetCard(0xc299) and (c:IsLocation(LOCATION_HAND) or c:IsFaceup())
end end
function cm.atkfilter(c) function cm.atkfilter(c)
return c:IsType(TYPE_RITUAL) and c:IsType(TYPE_MONSTER) and c:IsSetCard(0x1299) return c:IsType(TYPE_RITUAL) and c:IsType(TYPE_MONSTER) and c:IsSetCard(0xc299)
end end
function cm.atkcon(e,tp,eg,ep,ev,re,r,rp) function cm.atkcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsExistingMatchingCard(cm.atkfilter,tp,LOCATION_MZONE,0,1,nil) return Duel.IsExistingMatchingCard(cm.atkfilter,tp,LOCATION_MZONE,0,1,nil)
......
...@@ -52,10 +52,10 @@ function cm.initial_effect(c) ...@@ -52,10 +52,10 @@ function cm.initial_effect(c)
c:RegisterEffect(e5) c:RegisterEffect(e5)
end end
function cm.target(e,c) function cm.target(e,c)
return c:IsSetCard(0x1298) and c:IsType(TYPE_XYZ) and c:GetControler()==e:GetHandler():GetControler() return c:IsSetCard(0xc298) and c:IsType(TYPE_XYZ) and c:GetControler()==e:GetHandler():GetControler()
end end
function cm.drcon(e,tp,eg,ep,ev,re,r,rp) function cm.drcon(e,tp,eg,ep,ev,re,r,rp)
return re:IsActiveType(TYPE_MONSTER) and re:GetHandler():IsSetCard(0x1298) return re:IsActiveType(TYPE_MONSTER) and re:GetHandler():IsSetCard(0xc298)
end end
function cm.drtg(e,tp,eg,ep,ev,re,r,rp,chk) function cm.drtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end if chk==0 then return true end
...@@ -68,7 +68,7 @@ function cm.drop(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -68,7 +68,7 @@ function cm.drop(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.Draw(p,d,REASON_EFFECT) Duel.Draw(p,d,REASON_EFFECT)
end end
function cm.thfilter(c) function cm.thfilter(c)
return c:IsSetCard(0x1298) and c:IsAbleToDeck() return c:IsSetCard(0xc298) and c:IsAbleToDeck()
end end
function cm.tdtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function cm.tdtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_GRAVE) and chkc:IsControler(tp) and cm.thfilter(chkc) end if chkc then return chkc:IsLocation(LOCATION_GRAVE) and chkc:IsControler(tp) and cm.thfilter(chkc) end
......
...@@ -36,7 +36,7 @@ function cm.initial_effect(c) ...@@ -36,7 +36,7 @@ function cm.initial_effect(c)
c:RegisterEffect(e4) c:RegisterEffect(e4)
end end
function cm.con(e,tp,eg,ep,ev,re,r,rp) function cm.con(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsSetCard(0x1298) return e:GetHandler():IsSetCard(0xc298)
end end
function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk) function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():CheckRemoveOverlayCard(tp,1,REASON_COST) end if chk==0 then return e:GetHandler():CheckRemoveOverlayCard(tp,1,REASON_COST) end
...@@ -59,7 +59,7 @@ function cm.regop(e,tp,eg,ep,ev,re,r,rp) ...@@ -59,7 +59,7 @@ function cm.regop(e,tp,eg,ep,ev,re,r,rp)
c:RegisterFlagEffect(m,RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END,0,1) c:RegisterFlagEffect(m,RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END,0,1)
end end
function cm.thfilter(c) function cm.thfilter(c)
return c:IsSetCard(0x1298) and not c:IsCode(m) and c:IsAbleToHand() return c:IsSetCard(0xc298) and not c:IsCode(m) and c:IsAbleToHand()
end end
function cm.thcon(e,tp,eg,ep,ev,re,r,rp) function cm.thcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetFlagEffect(m)>0 return e:GetHandler():GetFlagEffect(m)>0
......
...@@ -25,7 +25,7 @@ function cm.initial_effect(c) ...@@ -25,7 +25,7 @@ function cm.initial_effect(c)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function cm.con(e,tp,eg,ep,ev,re,r,rp) function cm.con(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsSetCard(0x1298) return e:GetHandler():IsSetCard(0xc298)
end end
function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk) function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():CheckRemoveOverlayCard(tp,1,REASON_COST) end if chk==0 then return e:GetHandler():CheckRemoveOverlayCard(tp,1,REASON_COST) end
......
...@@ -33,7 +33,7 @@ function cm.initial_effect(c) ...@@ -33,7 +33,7 @@ function cm.initial_effect(c)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
function cm.descon(e) function cm.descon(e)
return not e:GetHandler():GetOverlayGroup():IsExists(Card.IsSetCard,1,nil,0x1298) return not e:GetHandler():GetOverlayGroup():IsExists(Card.IsSetCard,1,nil,0xc298)
end end
function cm.efilter(e,te) function cm.efilter(e,te)
return te:IsActiveType(TYPE_TRAP) and te:GetOwnerPlayer()~=e:GetHandlerPlayer() return te:IsActiveType(TYPE_TRAP) and te:GetOwnerPlayer()~=e:GetHandlerPlayer()
...@@ -43,7 +43,7 @@ function cm.mtcost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -43,7 +43,7 @@ function cm.mtcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.Hint(HINT_OPSELECTED,1-tp,e:GetDescription()) Duel.Hint(HINT_OPSELECTED,1-tp,e:GetDescription())
end end
function cm.mtfilter(c) function cm.mtfilter(c)
return c:IsSetCard(0x1298) and c:IsType(TYPE_MONSTER) return c:IsSetCard(0xc298) and c:IsType(TYPE_MONSTER)
end end
function cm.mttg(e,tp,eg,ep,ev,re,r,rp,chk) function cm.mttg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsType(TYPE_XYZ) if chk==0 then return e:GetHandler():IsType(TYPE_XYZ)
......
...@@ -30,7 +30,7 @@ function cm.initial_effect(c) ...@@ -30,7 +30,7 @@ function cm.initial_effect(c)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
function cm.con(e,tp,eg,ep,ev,re,r,rp) function cm.con(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsSetCard(0x1298) return e:GetHandler():IsSetCard(0xc298)
end end
function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk) function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():CheckRemoveOverlayCard(tp,1,REASON_COST) end if chk==0 then return e:GetHandler():CheckRemoveOverlayCard(tp,1,REASON_COST) end
...@@ -51,7 +51,7 @@ function cm.tdop(e,tp,eg,ep,ev,re,r,rp) ...@@ -51,7 +51,7 @@ function cm.tdop(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function cm.filter(c,e,tp) function cm.filter(c,e,tp)
return c:IsSetCard(0x1298) and c:IsCanBeSpecialSummoned(e,0,tp,false,false,POS_FACEUP) return c:IsSetCard(0xc298) and c:IsCanBeSpecialSummoned(e,0,tp,false,false,POS_FACEUP)
end end
function cm.sptg(e,tp,eg,ep,ev,re,r,rp,chk) function cm.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
......
...@@ -50,7 +50,7 @@ function cm.op(e,tp,eg,ep,ev,re,r,rp) ...@@ -50,7 +50,7 @@ function cm.op(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function cm.con(e,tp,eg,ep,ev,re,r,rp) function cm.con(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsSetCard(0x1298) return e:GetHandler():IsSetCard(0xc298)
end end
function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk) function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():CheckRemoveOverlayCard(tp,1,REASON_COST) end if chk==0 then return e:GetHandler():CheckRemoveOverlayCard(tp,1,REASON_COST) end
......
...@@ -29,7 +29,7 @@ function cm.initial_effect(c) ...@@ -29,7 +29,7 @@ function cm.initial_effect(c)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function cm.con(e,tp,eg,ep,ev,re,r,rp) function cm.con(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsSetCard(0x1298) return e:GetHandler():IsSetCard(0xc298)
end end
function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk) function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():CheckRemoveOverlayCard(tp,1,REASON_COST) end if chk==0 then return e:GetHandler():CheckRemoveOverlayCard(tp,1,REASON_COST) end
...@@ -48,7 +48,7 @@ function cm.hdop(e,tp,eg,ep,ev,re,r,rp) ...@@ -48,7 +48,7 @@ function cm.hdop(e,tp,eg,ep,ev,re,r,rp)
Duel.SendtoGrave(sg,REASON_EFFECT) Duel.SendtoGrave(sg,REASON_EFFECT)
end end
function cm.cfilter(c) function cm.cfilter(c)
return c:IsSetCard(0x1298) and c:IsDiscardable() return c:IsSetCard(0xc298) and c:IsDiscardable()
end end
function cm.descost(e,tp,eg,ep,ev,re,r,rp,chk) function cm.descost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(cm.cfilter,tp,LOCATION_HAND,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(cm.cfilter,tp,LOCATION_HAND,0,1,nil) end
......
...@@ -28,7 +28,7 @@ function cm.initial_effect(c) ...@@ -28,7 +28,7 @@ function cm.initial_effect(c)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
function cm.con(e,tp,eg,ep,ev,re,r,rp) function cm.con(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsSetCard(0x1298) return e:GetHandler():IsSetCard(0xc298)
end end
function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk) function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():CheckRemoveOverlayCard(tp,1,REASON_COST) end if chk==0 then return e:GetHandler():CheckRemoveOverlayCard(tp,1,REASON_COST) end
...@@ -49,7 +49,7 @@ function cm.op(e,tp,eg,ep,ev,re,r,rp) ...@@ -49,7 +49,7 @@ function cm.op(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function cm.filter(c,e,tp) function cm.filter(c,e,tp)
return c:IsSetCard(0x1298) and c:IsCanBeSpecialSummoned(e,0,tp,false,false,POS_FACEUP_DEFENSE) and not c:IsType(TYPE_XYZ) return c:IsSetCard(0xc298) and c:IsCanBeSpecialSummoned(e,0,tp,false,false,POS_FACEUP_DEFENSE) and not c:IsType(TYPE_XYZ)
end end
function cm.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function cm.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_GRAVE) and chkc:IsControler(tp) and cm.filter(chkc,e,tp) end if chkc then return chkc:IsLocation(LOCATION_GRAVE) and chkc:IsControler(tp) and cm.filter(chkc,e,tp) end
......
...@@ -25,7 +25,7 @@ function cm.initial_effect(c) ...@@ -25,7 +25,7 @@ function cm.initial_effect(c)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function cm.tdfilter(c) function cm.tdfilter(c)
return c:IsSetCard(0x1298) and c:IsAbleToDeck() return c:IsSetCard(0xc298) and c:IsAbleToDeck()
end end
function cm.drtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function cm.drtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_GRAVE) and chkc:IsControler(tp) and cm.tdfilter(chkc) end if chkc then return chkc:IsLocation(LOCATION_GRAVE) and chkc:IsControler(tp) and cm.tdfilter(chkc) end
...@@ -57,7 +57,7 @@ end ...@@ -57,7 +57,7 @@ end
function cm.negcon(e,tp,eg,ep,ev,re,r,rp) function cm.negcon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
local bc=c:GetBattleTarget() local bc=c:GetBattleTarget()
return c:IsSetCard(0x1298) and c:IsRelateToBattle() and bc and bc:GetControler()~=tp and bc:IsFaceup() and bc:IsRelateToBattle() and not (bc:GetAttack()==0 and bc:GetDefense()==0 and (bc:IsDisabled() or not bc:IsType(TYPE_EFFECT))) return c:IsSetCard(0xc298) and c:IsRelateToBattle() and bc and bc:GetControler()~=tp and bc:IsFaceup() and bc:IsRelateToBattle() and not (bc:GetAttack()==0 and bc:GetDefense()==0 and (bc:IsDisabled() or not bc:IsType(TYPE_EFFECT)))
end end
function cm.negop(e,tp,eg,ep,ev,re,r,rp) function cm.negop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
......
...@@ -33,7 +33,7 @@ function cm.initial_effect(c) ...@@ -33,7 +33,7 @@ function cm.initial_effect(c)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
function cm.descon(e) function cm.descon(e)
return not e:GetHandler():GetOverlayGroup():IsExists(Card.IsSetCard,1,nil,0x1298) return not e:GetHandler():GetOverlayGroup():IsExists(Card.IsSetCard,1,nil,0xc298)
end end
function cm.efilter(e,te) function cm.efilter(e,te)
return te:IsActiveType(TYPE_SPELL) and te:GetOwnerPlayer()~=e:GetHandlerPlayer() return te:IsActiveType(TYPE_SPELL) and te:GetOwnerPlayer()~=e:GetHandlerPlayer()
...@@ -43,7 +43,7 @@ function cm.mtcost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -43,7 +43,7 @@ function cm.mtcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.Hint(HINT_OPSELECTED,1-tp,e:GetDescription()) Duel.Hint(HINT_OPSELECTED,1-tp,e:GetDescription())
end end
function cm.mtfilter(c) function cm.mtfilter(c)
return c:IsSetCard(0x1298) and c:IsType(TYPE_MONSTER) return c:IsSetCard(0xc298) and c:IsType(TYPE_MONSTER)
end end
function cm.mttg(e,tp,eg,ep,ev,re,r,rp,chk) function cm.mttg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsType(TYPE_XYZ) if chk==0 then return e:GetHandler():IsType(TYPE_XYZ)
......
...@@ -30,7 +30,7 @@ function cm.initial_effect(c) ...@@ -30,7 +30,7 @@ function cm.initial_effect(c)
end end
function cm.atkcon(e,tp,eg,ep,ev,re,r,rp) function cm.atkcon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
return c:IsSetCard(0x1298) and Duel.IsAbleToEnterBP() return c:IsSetCard(0xc298) and Duel.IsAbleToEnterBP()
end end
function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk) function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():CheckRemoveOverlayCard(tp,1,REASON_COST) end if chk==0 then return e:GetHandler():CheckRemoveOverlayCard(tp,1,REASON_COST) end
...@@ -54,7 +54,7 @@ function cm.atkop(e,tp,eg,ep,ev,re,r,rp) ...@@ -54,7 +54,7 @@ function cm.atkop(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function cm.filter(c) function cm.filter(c)
return c:IsSetCard(0x1298) and c:IsAbleToHand() and not c:IsType(TYPE_MONSTER) return c:IsSetCard(0xc298) and c:IsAbleToHand() and not c:IsType(TYPE_MONSTER)
end end
function cm.tg(e,tp,eg,ep,ev,re,r,rp,chk) function cm.tg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(cm.filter,tp,LOCATION_DECK,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(cm.filter,tp,LOCATION_DECK,0,1,nil) end
...@@ -78,5 +78,5 @@ function cm.op(e,tp,eg,ep,ev,re,r,rp) ...@@ -78,5 +78,5 @@ function cm.op(e,tp,eg,ep,ev,re,r,rp)
Duel.RegisterEffect(e1,tp) Duel.RegisterEffect(e1,tp)
end end
function cm.splimit(e,c) function cm.splimit(e,c)
return not c:IsSetCard(0x1298) and c:IsLocation(LOCATION_EXTRA) return not c:IsSetCard(0xc298) and c:IsLocation(LOCATION_EXTRA)
end end
\ No newline at end of file
...@@ -33,7 +33,7 @@ function cm.initial_effect(c) ...@@ -33,7 +33,7 @@ function cm.initial_effect(c)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
function cm.descon(e) function cm.descon(e)
return not e:GetHandler():GetOverlayGroup():IsExists(Card.IsSetCard,1,nil,0x1298) return not e:GetHandler():GetOverlayGroup():IsExists(Card.IsSetCard,1,nil,0xc298)
end end
function cm.efilter(e,te) function cm.efilter(e,te)
return te:IsActiveType(TYPE_MONSTER) and te:GetOwnerPlayer()~=e:GetHandlerPlayer() return te:IsActiveType(TYPE_MONSTER) and te:GetOwnerPlayer()~=e:GetHandlerPlayer()
...@@ -43,7 +43,7 @@ function cm.mtcost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -43,7 +43,7 @@ function cm.mtcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.Hint(HINT_OPSELECTED,1-tp,e:GetDescription()) Duel.Hint(HINT_OPSELECTED,1-tp,e:GetDescription())
end end
function cm.mtfilter(c) function cm.mtfilter(c)
return c:IsSetCard(0x1298) and c:IsType(TYPE_MONSTER) return c:IsSetCard(0xc298) and c:IsType(TYPE_MONSTER)
end end
function cm.mttg(e,tp,eg,ep,ev,re,r,rp,chk) function cm.mttg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsType(TYPE_XYZ) if chk==0 then return e:GetHandler():IsType(TYPE_XYZ)
......
...@@ -31,7 +31,7 @@ function cm.initial_effect(c) ...@@ -31,7 +31,7 @@ function cm.initial_effect(c)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function cm.con(e,tp,eg,ep,ev,re,r,rp) function cm.con(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsSetCard(0x1298) return e:GetHandler():IsSetCard(0xc298)
end end
function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk) function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():CheckRemoveOverlayCard(tp,1,REASON_COST) end if chk==0 then return e:GetHandler():CheckRemoveOverlayCard(tp,1,REASON_COST) end
...@@ -98,7 +98,7 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -98,7 +98,7 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function cm.cfilter(c) function cm.cfilter(c)
return c:IsFaceup() and c:IsSetCard(0x1298) and c:IsType(TYPE_XYZ) return c:IsFaceup() and c:IsSetCard(0xc298) and c:IsType(TYPE_XYZ)
end end
function cm.discon(e,tp,eg,ep,ev,re,r,rp) function cm.discon(e,tp,eg,ep,ev,re,r,rp)
return rp==1-tp and Duel.IsExistingMatchingCard(cm.cfilter,tp,LOCATION_MZONE,0,1,nil) return rp==1-tp and Duel.IsExistingMatchingCard(cm.cfilter,tp,LOCATION_MZONE,0,1,nil)
......
...@@ -13,7 +13,7 @@ function cm.initial_effect(c) ...@@ -13,7 +13,7 @@ function cm.initial_effect(c)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
function cm.filter(c,e,tp) function cm.filter(c,e,tp)
return c:IsSetCard(0x1298) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) return c:IsSetCard(0xc298) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end end
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk) function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
...@@ -40,5 +40,5 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -40,5 +40,5 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
Duel.RegisterEffect(e1,tp) Duel.RegisterEffect(e1,tp)
end end
function cm.splimit(e,c,sump,sumtype,sumpos,targetp,se) function cm.splimit(e,c,sump,sumtype,sumpos,targetp,se)
return not c:IsSetCard(0x1298) return not c:IsSetCard(0xc298)
end end
\ No newline at end of file
...@@ -25,10 +25,10 @@ function cm.initial_effect(c) ...@@ -25,10 +25,10 @@ function cm.initial_effect(c)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function cm.tgfilter(c) function cm.tgfilter(c)
return c:IsFaceup() and c:IsType(TYPE_XYZ) and c:IsSetCard(0x1298) return c:IsFaceup() and c:IsType(TYPE_XYZ) and c:IsSetCard(0xc298)
end end
function cm.matfilter(c) function cm.matfilter(c)
return c:IsType(TYPE_MONSTER) and c:IsSetCard(0x1298) return c:IsType(TYPE_MONSTER) and c:IsSetCard(0xc298)
end end
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function cm.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsControler(tp) and chkc:IsLocation(LOCATION_MZONE) and cm.tgfilter(chkc) end if chkc then return chkc:IsControler(tp) and chkc:IsLocation(LOCATION_MZONE) and cm.tgfilter(chkc) end
...@@ -52,7 +52,7 @@ function cm.thcost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -52,7 +52,7 @@ function cm.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SendtoDeck(e:GetHandler(),nil,2,REASON_COST) Duel.SendtoDeck(e:GetHandler(),nil,2,REASON_COST)
end end
function cm.thfilter(c) function cm.thfilter(c)
return c:IsSetCard(0x1298) and c:IsType(TYPE_MONSTER) and c:IsAbleToHand() return c:IsSetCard(0xc298) and c:IsType(TYPE_MONSTER) and c:IsAbleToHand()
end end
function cm.thtg(e,tp,eg,ep,ev,re,r,rp,chk) function cm.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(cm.thfilter,tp,LOCATION_DECK,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(cm.thfilter,tp,LOCATION_DECK,0,1,nil) end
......
...@@ -25,10 +25,10 @@ function cm.initial_effect(c) ...@@ -25,10 +25,10 @@ function cm.initial_effect(c)
end end
function cm.filter(c,e,tp) function cm.filter(c,e,tp)
return c:IsSetCard(0x1298) and c:IsCanBeEffectTarget(e) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) return c:IsSetCard(0xc298) and c:IsCanBeEffectTarget(e) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end end
function cm.xyzfilter(c,mg) function cm.xyzfilter(c,mg)
return c:IsSetCard(0x1298) and c:IsXyzSummonable(mg,2,2) return c:IsSetCard(0xc298) and c:IsXyzSummonable(mg,2,2)
end end
function cm.mfilter1(c,mg,exg) function cm.mfilter1(c,mg,exg)
return mg:IsExists(cm.mfilter2,1,c,c,exg) return mg:IsExists(cm.mfilter2,1,c,c,exg)
...@@ -82,7 +82,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -82,7 +82,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function cm.repfilter(c,tp) function cm.repfilter(c,tp)
return c:IsFaceup() and c:IsControler(tp) and c:IsReason(REASON_BATTLE) and c:IsSetCard(0x1298) return c:IsFaceup() and c:IsControler(tp) and c:IsReason(REASON_BATTLE) and c:IsSetCard(0xc298)
end end
function cm.reptg(e,tp,eg,ep,ev,re,r,rp,chk) function cm.reptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsAbleToDeck() and eg:IsExists(cm.repfilter,1,nil,tp) end if chk==0 then return e:GetHandler():IsAbleToDeck() and eg:IsExists(cm.repfilter,1,nil,tp) end
......
...@@ -36,7 +36,7 @@ function cm.thcost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -36,7 +36,7 @@ function cm.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.DiscardHand(tp,Card.IsDiscardable,1,1,REASON_DISCARD+REASON_COST,nil) Duel.DiscardHand(tp,Card.IsDiscardable,1,1,REASON_DISCARD+REASON_COST,nil)
end end
function cm.thfilter(c) function cm.thfilter(c)
return c:IsSetCard(0x1298) and c:IsAbleToHand() and not c:IsCode(m) return c:IsSetCard(0xc298) and c:IsAbleToHand() and not c:IsCode(m)
end end
function cm.thtg(e,tp,eg,ep,ev,re,r,rp,chk) function cm.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(cm.thfilter,tp,LOCATION_DECK,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(cm.thfilter,tp,LOCATION_DECK,0,1,nil) end
......
...@@ -293,10 +293,10 @@ ...@@ -293,10 +293,10 @@
#REIKAI 2404873791 161 0xcc0-0xccf #REIKAI 2404873791 161 0xcc0-0xccf
!setname 0xcc3 Mystic !setname 0xcc3 Mystic
#setname 0x1cc3 MysticElement !setname 0x3cc3 MysticGate
#setname 0x3cc3 MysticGate !setname 0x5cc3 MysticDragon
#setname 0x5cc3 MysticDragon !setname 0xacc3 Mystic探究者
#setname 0xacc3 Mystic探究者 !setname 0xccc3 MysticElement
!setname 0xcc4 叛教的 !setname 0xcc4 叛教的
!setname 0xcca 异种 !setname 0xcca 异种
!setname 0xccb 天界 !setname 0xccb 天界
...@@ -779,11 +779,11 @@ ...@@ -779,11 +779,11 @@
!setname 0x295 神迹 !setname 0x295 神迹
!setname 0x296 幻晶兽 !setname 0x296 幻晶兽
!setname 0x297 亡灵舰队 !setname 0x297 亡灵舰队
!setname 0x1298 荒兽 !setname 0xc298 荒兽
!setname 0x3298 堕世魔镜 !setname 0x3298 堕世魔镜
!setname 0x5298 时之行者 !setname 0x5298 时之行者
!setname 0x6298 虚妄灵 !setname 0x6298 虚妄灵
!setname 0x1299 妖狐 !setname 0xc299 妖狐
!setname 0x5299 小红帽 !setname 0x5299 小红帽
!setname 0x29b 界王 !setname 0x29b 界王
!setname 0x29c 邪界幻灵 !setname 0x29c 邪界幻灵
......
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