Commit ca7da6b9 authored by DailyShana's avatar DailyShana

fix

parent a344f115
...@@ -4,6 +4,7 @@ function c44811425.initial_effect(c) ...@@ -4,6 +4,7 @@ function c44811425.initial_effect(c)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_FLIP) e1:SetCode(EVENT_FLIP)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e1:SetOperation(c44811425.flipop) e1:SetOperation(c44811425.flipop)
c:RegisterEffect(e1) c:RegisterEffect(e1)
--draw --draw
......
...@@ -4,6 +4,7 @@ function c58551308.initial_effect(c) ...@@ -4,6 +4,7 @@ function c58551308.initial_effect(c)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_FLIP) e1:SetCode(EVENT_FLIP)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e1:SetOperation(c58551308.flipop) e1:SetOperation(c58551308.flipop)
c:RegisterEffect(e1) c:RegisterEffect(e1)
--special summon --special summon
......
...@@ -16,6 +16,7 @@ function c71071546.initial_effect(c) ...@@ -16,6 +16,7 @@ function c71071546.initial_effect(c)
e2:SetType(EFFECT_TYPE_IGNITION) e2:SetType(EFFECT_TYPE_IGNITION)
e2:SetRange(LOCATION_MZONE) e2:SetRange(LOCATION_MZONE)
e2:SetCost(c71071546.atkcost) e2:SetCost(c71071546.atkcost)
e2:SetTarget(c71071546.atktg)
e2:SetOperation(c71071546.atkop) e2:SetOperation(c71071546.atkop)
c:RegisterEffect(e2) c:RegisterEffect(e2)
--salvage --salvage
...@@ -41,6 +42,9 @@ function c71071546.atkcost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -41,6 +42,9 @@ function c71071546.atkcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return ct>0 and e:GetHandler():IsCanRemoveCounter(tp,0x2c,ct,REASON_COST) end if chk==0 then return ct>0 and e:GetHandler():IsCanRemoveCounter(tp,0x2c,ct,REASON_COST) end
e:GetHandler():RemoveCounter(tp,0x2c,ct,REASON_COST) e:GetHandler():RemoveCounter(tp,0x2c,ct,REASON_COST)
end end
function c71071546.atktg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():GetAttack()~=2000 end
end
function c71071546.atkop(e,tp,eg,ep,ev,re,r,rp) function c71071546.atkop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
if c:IsRelateToEffect(e) and c:IsFaceup() then if c:IsRelateToEffect(e) and c:IsFaceup() then
......
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