Commit ccb35a40 authored by Nemo Ma's avatar Nemo Ma

fix

parent 6f5a2cbc
expansions/pics/33403531.jpg

241 KB | W: | H:

expansions/pics/33403531.jpg

239 KB | W: | H:

expansions/pics/33403531.jpg
expansions/pics/33403531.jpg
expansions/pics/33403531.jpg
expansions/pics/33403531.jpg
  • 2-up
  • Swipe
  • Onion skin
......@@ -33,7 +33,7 @@ function cm.initial_effect(c)
c:RegisterEffect(e2)
end
function cm.condition(e,tp,eg,ep,ev,re,r,rp)
return (re:IsActiveType(TYPE_MONSTER) or re:IsHasType(EFFECT_TYPE_ACTIVATE)) and Duel.IsChainNegatable(ev) and rp==1-tp
return Duel.IsChainNegatable(ev) and rp==1-tp
end
function cm.cfilter(c,tp)
return c:IsRace(RACE_WARRIOR+RACE_DRAGON) and (c:IsControler(tp) or c:IsFaceup()) and not c:IsStatus(STATUS_BATTLE_DESTROYED)
......
......@@ -48,12 +48,12 @@ end
function cm.rmtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsControler(1-tp) and chkc:IsAbleToRemove() end
if chk==0 then return Duel.IsExistingMatchingCard(Card.IsAbleToRemove,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,nil) end
if chk==0 then return Duel.IsExistingMatchingCard(Card.IsAbleToRemove,tp,0,LOCATION_ONFIELD,1,nil) end
Duel.SetOperationInfo(0,CATEGORY_REMOVE,g,1,0,0)
end
function cm.rmop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE)
local g=Duel.SelectMatchingCard(tp,Card.IsAbleToRemove,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,1,nil)
local g=Duel.SelectMatchingCard(tp,Card.IsAbleToRemove,tp,0,LOCATION_ONFIELD,1,1,nil)
if #g>0 then
if Duel.Remove(g,POS_FACEDOWN,REASON_EFFECT)~=0 then
Duel.Damage(1-tp,1000,REASON_EFFECT)
......
......@@ -77,7 +77,7 @@ function c79029917.filter(c,e)
return c:IsType(TYPE_MONSTER) and c:IsCanBeFusionMaterial() and c:IsAbleToRemove() and not c:IsImmuneToEffect(e)
end
function c79029917.chain_target(e,te,tp)
return Duel.GetMatchingGroup(c79029917.filter,tp,LOCATION_MZONE+LOCATION_GRAVE,0,nil,te)
return Duel.GetMatchingGroup(c79029917.filter,tp,LOCATION_MZONE+LOCATION_DECK,0,nil,te)
end
function c79029917.chain_operation(e,te,tp,tc,mat,sumtype)
if not sumtype then sumtype=SUMMON_TYPE_FUSION end
......
--方舟骑士·警戒色 蓝毒
function c82567866.initial_effect(c)
--add abyss hunter
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_ADD_SETCODE)
e1:SetRange(LOCATION_MZONE+LOCATION_GRAVE)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e1:SetValue(0x9825)
c:RegisterEffect(e1)
--special summon
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(82567866,0))
......
......@@ -125,7 +125,7 @@ function c82568044.spop(e,tp,eg,ep,ev,re,r,rp)
local tg=sg:Select(tp,1,1,nil)
local tc=tg:GetFirst()
if sg1:IsContains(tc) and (sg3==nil or not sg3:IsContains(tc) or not Duel.SelectYesNo(tp,ce:GetDescription())) then
if tc:IsSetCard(0x825) then
if tc:IsRace(RACE_BEASTWARRIOR) then
local mat1=Duel.SelectFusionMaterial(tp,tc,mg2,nil,chkf)
tc:SetMaterial(mat1)
local mat2=mat1:Filter(Card.IsLocation,nil,LOCATION_GRAVE)
......
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