Commit 991115b1 authored by TanakaKotoha's avatar TanakaKotoha

ready for new card Amana

parent 0809cfae
--篱下公主·德川茉莉 --篱下公主·德川茉莉
require("expansions/script/c26800000")
function c26804005.initial_effect(c) function c26804005.initial_effect(c)
--xyz summon --xyz summon
aux.AddXyzProcedure(c,nil,5,2) aux.AddXyzProcedure(c,nil,5,2)
c:EnableReviveLimit() c:EnableReviveLimit()
--cannot attack Amana.AttackBelow(c)
local e0=Effect.CreateEffect(c)
e0:SetType(EFFECT_TYPE_SINGLE)
e0:SetCode(EFFECT_CANNOT_ATTACK)
e0:SetCondition(c26804005.atcon)
c:RegisterEffect(e0)
--atkup --atkup
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_ATKCHANGE) e1:SetCategory(CATEGORY_ATKCHANGE)
...@@ -35,9 +31,6 @@ function c26804005.initial_effect(c) ...@@ -35,9 +31,6 @@ function c26804005.initial_effect(c)
e5:SetOperation(c26804005.spop) e5:SetOperation(c26804005.spop)
c:RegisterEffect(e5) c:RegisterEffect(e5)
end end
function c26804005.atcon(e)
return e:GetHandler():GetAttack()>=2000
end
function c26804005.atkcon(e,tp,eg,ep,ev,re,r,rp) function c26804005.atkcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetCurrentPhase()~=PHASE_DAMAGE or not Duel.IsDamageCalculated() return Duel.GetCurrentPhase()~=PHASE_DAMAGE or not Duel.IsDamageCalculated()
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