Commit ae6eb35e authored by Tachibana's avatar Tachibana

watele

parent 009244f3
Pipeline #6664 passed with stages
in 35 minutes and 15 seconds
...@@ -44,7 +44,7 @@ function cm.desop(e,tp,eg,ep,ev,re,r,rp) ...@@ -44,7 +44,7 @@ function cm.desop(e,tp,eg,ep,ev,re,r,rp)
end end
end end
if g2:GetCount()>0 and ct2>0 and Duel.SelectYesNo(1-tp,aux.Stringid(m,3)) then if g2:GetCount()>0 and ct2>0 and Duel.SelectYesNo(1-tp,aux.Stringid(m,3)) then
local g4=Duel.SelectMatchingCard(1-tp,Card.IsAbleToHand,1-tp,0,LOCATION_GRAVE,ct2,ct2,nil) local g4=Duel.SelectMatchingCard(1-tp,Card.IsAbleToHand,tp,0,LOCATION_GRAVE,ct2,ct2,nil)
if #g4>=ct2 then if #g4>=ct2 then
Duel.SendtoHand(g4,nil,REASON_EFFECT) Duel.SendtoHand(g4,nil,REASON_EFFECT)
Duel.ConfirmCards(tp,g) Duel.ConfirmCards(tp,g)
......
...@@ -17,7 +17,7 @@ function cm.initial_effect(c) ...@@ -17,7 +17,7 @@ function cm.initial_effect(c)
c:RegisterEffect(e3) c:RegisterEffect(e3)
--special summon limit --special summon limit
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(m,1)) e1:SetDescription(aux.Stringid(m,2))
e1:SetCode(EVENT_BATTLE_DESTROYING) e1:SetCode(EVENT_BATTLE_DESTROYING)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCondition(cm.bdogcon) e1:SetCondition(cm.bdogcon)
...@@ -51,7 +51,7 @@ function cm.rmop(e,tp,eg,ep,ev,re,r,rp) ...@@ -51,7 +51,7 @@ function cm.rmop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
if c:IsRelateToEffect(e) then if c:IsRelateToEffect(e) then
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(m,2)) e1:SetDescription(aux.Stringid(m,1))
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_IMMUNE_EFFECT) e1:SetCode(EFFECT_IMMUNE_EFFECT)
e1:SetRange(LOCATION_MZONE) e1:SetRange(LOCATION_MZONE)
...@@ -89,7 +89,7 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -89,7 +89,7 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
if c:IsRelateToEffect(e) then if c:IsRelateToEffect(e) then
local e1=Effect.CreateEffect(e:GetHandler()) local e1=Effect.CreateEffect(e:GetHandler())
e1:SetDescription(aux.Stringid(m,1)) e1:SetDescription(aux.Stringid(m,2))
e1:SetType(EFFECT_TYPE_FIELD) e1:SetType(EFFECT_TYPE_FIELD)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_CLIENT_HINT) e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_CLIENT_HINT)
e1:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON) e1:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
......
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