Commit b2f221f3 authored by 聖園ミカ's avatar 聖園ミカ 🐟

Replace c81902092.lua

parent a49bdb6e
...@@ -6,7 +6,7 @@ cm.TC_number=91 ...@@ -6,7 +6,7 @@ cm.TC_number=91
function cm.initial_effect(c) function cm.initial_effect(c)
aux.AddCodeList(c,81902000) aux.AddCodeList(c,81902000)
--xyz summon --xyz summon
aux.AddXyzProcedure(c,nil,5,3,cm.ovfilter,aux.Stringid(m,0)) aux.AddXyzProcedure(c,nil,5,3,cm.ovfilter,aux.Stringid(m,0),3,cm.xyzop)
c:EnableReviveLimit() c:EnableReviveLimit()
--atk --atk
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
...@@ -46,6 +46,10 @@ end ...@@ -46,6 +46,10 @@ end
function cm.ovfilter(c) function cm.ovfilter(c)
return c:IsFaceup() and c:IsRace(RACE_FAIRY) and c:IsAttribute(ATTRIBUTE_DARK) and c:IsType(TYPE_XYZ) and c:IsRank(7) return c:IsFaceup() and c:IsRace(RACE_FAIRY) and c:IsAttribute(ATTRIBUTE_DARK) and c:IsType(TYPE_XYZ) and c:IsRank(7)
end end
function cm.xyzop(e,tp,chk)
if chk==0 then return Duel.GetFlagEffect(tp,m)==0 end
Duel.RegisterFlagEffect(tp,m,RESET_PHASE+PHASE_END,EFFECT_FLAG_OATH,1)
end
--atk up --atk up
function cm.atkval(e,tp) function cm.atkval(e,tp)
local g=Duel.GetFieldGroup(tp,LOCATION_ONFIELD+LOCATION_GRAVE,LOCATION_ONFIELD+LOCATION_GRAVE) local g=Duel.GetFieldGroup(tp,LOCATION_ONFIELD+LOCATION_GRAVE,LOCATION_ONFIELD+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