Commit 65efb2f1 authored by Tachibana's avatar Tachibana

eme

parent 0ac577c5
Pipeline #8497 passed with stages
in 22 minutes and 23 seconds
...@@ -50,10 +50,10 @@ function cm.smop(e,tp,eg,ep,ev,re,r,rp) ...@@ -50,10 +50,10 @@ function cm.smop(e,tp,eg,ep,ev,re,r,rp)
if sg and sg:GetCount()>0 then if sg and sg:GetCount()>0 then
local el=tama.tamas_sumElements(sg) local el=tama.tamas_sumElements(sg)
Duel.SendtoDeck(sg,nil,2,REASON_EFFECT) Duel.SendtoDeck(sg,nil,2,REASON_EFFECT)
local g1=Duel.GetMatchingGroupCount(cm.thfilter,tp,LOCATION_DECK,0,nil,el) local g1=Duel.GetMatchingGroup(cm.thfilter,tp,LOCATION_DECK,0,nil,el)
if g1:GetCount()>0 and Duel.GetLocationCount(tp,LOCATION_MZONE)>0 then if g1:GetCount()>0 and Duel.GetLocationCount(tp,LOCATION_MZONE)>0 then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
local sg1=g1:Select(tp,1,g1:GetCount(),nil) local sg1=g1:Select(tp,1,1,nil)
local tc=sg1:GetFirst() local tc=sg1:GetFirst()
if Duel.SendtoHand(sg1,tp,REASON_EFFECT)>0 and tc:IsSummonable(true,nil) and Duel.SelectYesNo(tp,aux.Stringid(m,3)) then if Duel.SendtoHand(sg1,tp,REASON_EFFECT)>0 and tc:IsSummonable(true,nil) and Duel.SelectYesNo(tp,aux.Stringid(m,3)) then
Duel.BreakEffect() Duel.BreakEffect()
......
local m=23000350 local m=23000350
local cm=_G["c"..m] local cm=_G["c"..m]
--白马队率 子龙 --白马队率 子龙
function cm.initial_effect(c) function cm.initial_effect(c)
...@@ -20,7 +20,7 @@ function cm.initial_effect(c) ...@@ -20,7 +20,7 @@ function cm.initial_effect(c)
e2:SetCode(EFFECT_UPDATE_ATTACK) e2:SetCode(EFFECT_UPDATE_ATTACK)
e2:SetRange(LOCATION_MZONE) e2:SetRange(LOCATION_MZONE)
e2:SetTargetRange(LOCATION_MZONE,0) e2:SetTargetRange(LOCATION_MZONE,0)
e2:SetTarget(aux.TargetBoolFunction(Card.IsSetCard,0x36b)) e2:SetTarget(aux.TargetBoolFunction(Card.IsSetCard,0x35b))
e2:SetValue(500) e2:SetValue(500)
c:RegisterEffect(e2) c:RegisterEffect(e2)
--defense --defense
......
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