Commit c813e261 authored by TanakaKotoha's avatar TanakaKotoha

daniaozhuanzhuanzhuan

parent 37b365ae
Pipeline #2491 passed with stages
in 49 minutes and 29 seconds
expansions/pics/81004002.jpg

61.5 KB | W: | H:

expansions/pics/81004002.jpg

148 KB | W: | H:

expansions/pics/81004002.jpg
expansions/pics/81004002.jpg
expansions/pics/81004002.jpg
expansions/pics/81004002.jpg
  • 2-up
  • Swipe
  • Onion skin
...@@ -2,90 +2,90 @@ ...@@ -2,90 +2,90 @@
Amana=Amana or {} Amana=Amana or {}
--Mogami Shizuka, 81018xxx, 0x81b --Mogami Shizuka, 81018xxx, 0x81b
function Amana.AttackBelow(c) function Amana.AttackBelow(c)
local ea=Effect.CreateEffect(c) local ea=Effect.CreateEffect(c)
ea:SetType(EFFECT_TYPE_SINGLE) ea:SetType(EFFECT_TYPE_SINGLE)
ea:SetCode(EFFECT_CANNOT_ATTACK) ea:SetCode(EFFECT_CANNOT_ATTACK)
ea:SetCondition(Amana.atcon) ea:SetCondition(Amana.atcon)
c:RegisterEffect(ea) c:RegisterEffect(ea)
end end
function Amana.atcon(e) function Amana.atcon(e)
return e:GetHandler():GetAttack()>=2000 return e:GetHandler():GetAttack()>=2000
end end
--majsoul --majsoul
function Amana.Majsoul(c) function Amana.Majsoul(c)
Duel.EnableGlobalFlag(GLOBALFLAG_SELF_TOGRAVE) Duel.EnableGlobalFlag(GLOBALFLAG_SELF_TOGRAVE)
aux.AddCodeList(c,26818000,26818001) aux.AddCodeList(c,26818000,26818001)
local ea=Effect.CreateEffect(c) local ea=Effect.CreateEffect(c)
ea:SetType(EFFECT_TYPE_SINGLE) ea:SetType(EFFECT_TYPE_SINGLE)
ea:SetProperty(EFFECT_FLAG_SINGLE_RANGE) ea:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
ea:SetCode(EFFECT_SELF_TOGRAVE) ea:SetCode(EFFECT_SELF_TOGRAVE)
ea:SetRange(LOCATION_MZONE) ea:SetRange(LOCATION_MZONE)
ea:SetCondition(Amana.tgcon) ea:SetCondition(Amana.tgcon)
c:RegisterEffect(ea) c:RegisterEffect(ea)
end end
function Amana.cfilter(c) function Amana.cfilter(c)
return c:IsFaceup() and c:IsCode(26818000,26818001) return c:IsFaceup() and c:IsCode(26818000,26818001)
end end
function Amana.tgcon(e) function Amana.tgcon(e)
local tp=e:GetHandlerPlayer() local tp=e:GetHandlerPlayer()
return Duel.GetCurrentPhase()==PHASE_END return Duel.GetCurrentPhase()==PHASE_END
and not (Duel.IsExistingMatchingCard(Amana.cfilter,tp,LOCATION_MZONE,0,1,nil) or Duel.IsPlayerAffectedByEffect(tp,26818046)) and not (Duel.IsExistingMatchingCard(Amana.cfilter,tp,LOCATION_MZONE,0,1,nil) or Duel.IsPlayerAffectedByEffect(tp,26818046))
end end
--majsoulGirl/Boy --majsoulGirl/Boy
function Amana.MajsoulGirl(c) function Amana.MajsoulGirl(c)
local ea=Effect.CreateEffect(c) local ea=Effect.CreateEffect(c)
ea:SetType(EFFECT_TYPE_SINGLE) ea:SetType(EFFECT_TYPE_SINGLE)
ea:SetProperty(EFFECT_FLAG_SINGLE_RANGE) ea:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
ea:SetCode(EFFECT_CHANGE_CODE) ea:SetCode(EFFECT_CHANGE_CODE)
ea:SetRange(LOCATION_MZONE) ea:SetRange(LOCATION_MZONE)
ea:SetCondition(Amana.namecon) ea:SetCondition(Amana.namecon)
ea:SetValue(26818000) ea:SetValue(26818000)
c:RegisterEffect(ea) c:RegisterEffect(ea)
end end
function Amana.MajsoulBoy(c) function Amana.MajsoulBoy(c)
local ea=Effect.CreateEffect(c) local ea=Effect.CreateEffect(c)
ea:SetType(EFFECT_TYPE_SINGLE) ea:SetType(EFFECT_TYPE_SINGLE)
ea:SetProperty(EFFECT_FLAG_SINGLE_RANGE) ea:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
ea:SetCode(EFFECT_CHANGE_CODE) ea:SetCode(EFFECT_CHANGE_CODE)
ea:SetRange(LOCATION_MZONE) ea:SetRange(LOCATION_MZONE)
ea:SetCondition(Amana.namecon) ea:SetCondition(Amana.namecon)
ea:SetValue(26818001) ea:SetValue(26818001)
c:RegisterEffect(ea) c:RegisterEffect(ea)
end end
function Amana.namecon(e) function Amana.namecon(e)
local ph=Duel.GetCurrentPhase() local ph=Duel.GetCurrentPhase()
return (ph>=PHASE_BATTLE_START and ph<=PHASE_BATTLE) or ph==PHASE_END return (ph>=PHASE_BATTLE_START and ph<=PHASE_BATTLE) or ph==PHASE_END
end end
--sliver --sliver
function Amana.SliverCost(e,tp,eg,ep,ev,re,r,rp,chk) function Amana.SliverCost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetActivityCount(tp,ACTIVITY_BATTLE_PHASE)==0 end if chk==0 then return Duel.GetActivityCount(tp,ACTIVITY_BATTLE_PHASE)==0 end
local e1=Effect.CreateEffect(e:GetHandler()) local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_FIELD) e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_CANNOT_BP) e1:SetCode(EFFECT_CANNOT_BP)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_OATH) e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_OATH)
e1:SetTargetRange(1,0) e1:SetTargetRange(1,0)
e1:SetReset(RESET_PHASE+PHASE_END) e1:SetReset(RESET_PHASE+PHASE_END)
Duel.RegisterEffect(e1,tp) Duel.RegisterEffect(e1,tp)
end end
function Amana.SliverSummon(c) function Amana.SliverSummon(c)
local ea=Effect.CreateEffect(c) local ea=Effect.CreateEffect(c)
ea:SetType(EFFECT_TYPE_SINGLE) ea:SetType(EFFECT_TYPE_SINGLE)
ea:SetCode(EFFECT_SPSUMMON_COST) ea:SetCode(EFFECT_SPSUMMON_COST)
ea:SetProperty(EFFECT_FLAG_CANNOT_DISABLE) ea:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
ea:SetCost(Amana.spcost) ea:SetCost(Amana.spcost)
ea:SetOperation(Amana.spcop) ea:SetOperation(Amana.spcop)
c:RegisterEffect(ea) c:RegisterEffect(ea)
end end
function Amana.spcost(e,c,tp) function Amana.spcost(e,c)
return Duel.GetActivityCount(tp,ACTIVITY_BATTLE_PHASE)==0 return Duel.GetActivityCount(c:GetControler(),ACTIVITY_BATTLE_PHASE)==0
end end
function Amana.spcop(e,tp,eg,ep,ev,re,r,rp) function Amana.spcop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET) e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetType(EFFECT_TYPE_FIELD) e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_CANNOT_BP) e1:SetCode(EFFECT_CANNOT_BP)
e1:SetTargetRange(1,0) e1:SetTargetRange(1,0)
e1:SetReset(RESET_PHASE+PHASE_END) e1:SetReset(RESET_PHASE+PHASE_END)
Duel.RegisterEffect(e1,tp) Duel.RegisterEffect(e1,tp)
end end
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