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

1+1=3

parent b9a68bb6
......@@ -11,7 +11,7 @@ function c29990140.initial_effect(c)
--Gains Effect
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(29990140,0))
e1:SetProperty(EFFECT_FLAG_CANNOT_INACTIVATE+EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_CANNOT_NEGATE)
e1:SetProperty(EFFECT_FLAG_CANNOT_INACTIVATE+EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_CAN_FORBIDDEN)
e1:SetType(EFFECT_TYPE_XMATERIAL+EFFECT_TYPE_QUICK_O)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCountLimit(1,29990140+EFFECT_COUNT_CODE_OATH)
......
......@@ -11,7 +11,7 @@ function c29990150.initial_effect(c)
--Gains Effect
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(29990150,0))
e1:SetProperty(EFFECT_FLAG_CANNOT_INACTIVATE+EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_CANNOT_NEGATE)
e1:SetProperty(EFFECT_FLAG_CANNOT_INACTIVATE+EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_CAN_FORBIDDEN)
e1:SetType(EFFECT_TYPE_XMATERIAL+EFFECT_TYPE_QUICK_O)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCountLimit(1,29990150+EFFECT_COUNT_CODE_OATH)
......
......@@ -41,7 +41,7 @@ function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
local ct=#{c:IsHasEffect(EFFECT_TRAP_ACT_IN_SET_TURN,tp)}
local dis=Duel.IsExistingMatchingCard(cm.cfilter,tp,LOCATION_HAND,0,1,nil)
if chk==0 then return ct>1 or dis end
if ct==1 or dis and Duel.SelectYesNo(tp,aux.Stringid(id,2)) then
if ct==1 or dis and Duel.SelectYesNo(tp,aux.Stringid(m,2)) then
Duel.DiscardHand(tp,cm.cfilter,1,1,REASON_DISCARD+REASON_COST,nil)
end
end
......
......@@ -41,7 +41,7 @@ function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
local ct=#{c:IsHasEffect(EFFECT_TRAP_ACT_IN_SET_TURN,tp)}
local dis=Duel.IsExistingMatchingCard(cm.cfilter,tp,LOCATION_HAND,0,1,nil)
if chk==0 then return ct>1 or dis end
if ct==1 or dis and Duel.SelectYesNo(tp,aux.Stringid(id,2)) then
if ct==1 or dis and Duel.SelectYesNo(tp,aux.Stringid(m,2)) then
Duel.DiscardHand(tp,cm.cfilter,1,1,REASON_DISCARD+REASON_COST,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