Commit 21ae6885 authored by GuGu's avatar GuGu

Update c26078.lua

parent 77ccdc7a
Pipeline #40865 passed with stage
in 10 seconds
...@@ -36,7 +36,6 @@ function c26078.initial_effect(c) ...@@ -36,7 +36,6 @@ function c26078.initial_effect(c)
local e5=Effect.CreateEffect(c) local e5=Effect.CreateEffect(c)
e5:SetDescription(aux.Stringid(26078,2)) e5:SetDescription(aux.Stringid(26078,2))
e5:SetCategory(CATEGORY_HANDES) e5:SetCategory(CATEGORY_HANDES)
e5:SetProperty(EFFECT_FLAG_CARD_TARGET)
e5:SetType(EFFECT_TYPE_IGNITION) e5:SetType(EFFECT_TYPE_IGNITION)
e5:SetCountLimit(1) e5:SetCountLimit(1)
e5:SetRange(LOCATION_MZONE) e5:SetRange(LOCATION_MZONE)
...@@ -90,7 +89,7 @@ function c26078.spop(e,tp,eg,ep,ev,re,r,rp,c) ...@@ -90,7 +89,7 @@ function c26078.spop(e,tp,eg,ep,ev,re,r,rp,c)
end end
rg1:Merge(rg2) rg1:Merge(rg2)
c:SetMaterial(rg1) c:SetMaterial(rg1)
Duel.Release(rg1,REASON_COST) Duel.Release(rg1,REASON_SPSUMMON)
end end
function c26078.filter(c) function c26078.filter(c)
return c:IsDestructable() and c:IsFacedown() return c:IsDestructable() and c:IsFacedown()
...@@ -139,5 +138,5 @@ function c26078.ditg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -139,5 +138,5 @@ function c26078.ditg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SetOperationInfo(0,CATEGORY_HANDES,nil,0,tp,1) Duel.SetOperationInfo(0,CATEGORY_HANDES,nil,0,tp,1)
end end
function c26078.diop(e,tp,eg,ep,ev,re,r,rp) function c26078.diop(e,tp,eg,ep,ev,re,r,rp)
Duel.DiscardHand(tp,Card.IsDiscardable,1,1,REASON_EFFECT,nil) Duel.DiscardHand(tp,Card.IsDiscardable,1,1,REASON_EFFECT+REASON_DISCARD,nil)
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