Commit fcfc0c01 authored by salix5's avatar salix5

Merge pull request #146 from nekrozar/patch-2

fix Dark Doriado
parents fe833215 c388f5f4
...@@ -18,7 +18,7 @@ function c62312469.initial_effect(c) ...@@ -18,7 +18,7 @@ function c62312469.initial_effect(c)
local e4=Effect.CreateEffect(c) local e4=Effect.CreateEffect(c)
e4:SetDescription(aux.Stringid(62312469,0)) e4:SetDescription(aux.Stringid(62312469,0))
e4:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e4:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e4:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DELAY) e4:SetProperty(EFFECT_FLAG_DELAY)
e4:SetCode(EVENT_SUMMON_SUCCESS) e4:SetCode(EVENT_SUMMON_SUCCESS)
e4:SetTarget(c62312469.sttg) e4:SetTarget(c62312469.sttg)
e4:SetOperation(c62312469.stop) e4:SetOperation(c62312469.stop)
...@@ -63,10 +63,15 @@ function c62312469.stop(e,tp,eg,ep,ev,re,r,rp) ...@@ -63,10 +63,15 @@ function c62312469.stop(e,tp,eg,ep,ev,re,r,rp)
local g3=Duel.SelectMatchingCard(tp,Card.IsAttribute,tp,LOCATION_DECK,0,1,1,nil,ATTRIBUTE_FIRE) local g3=Duel.SelectMatchingCard(tp,Card.IsAttribute,tp,LOCATION_DECK,0,1,1,nil,ATTRIBUTE_FIRE)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TARGET) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TARGET)
local g4=Duel.SelectMatchingCard(tp,Card.IsAttribute,tp,LOCATION_DECK,0,1,1,nil,ATTRIBUTE_WIND) local g4=Duel.SelectMatchingCard(tp,Card.IsAttribute,tp,LOCATION_DECK,0,1,1,nil,ATTRIBUTE_WIND)
Duel.MoveSequence(g1:GetFirst(),0) g1:Merge(g2)
Duel.MoveSequence(g2:GetFirst(),0) g1:Merge(g3)
Duel.MoveSequence(g3:GetFirst(),0) g1:Merge(g4)
Duel.MoveSequence(g4:GetFirst(),0) Duel.ConfirmCards(1-tp,g1)
local tc=g1:GetFirst()
while tc do
Duel.MoveSequence(tc,0)
tc=g1:GetNext()
end
Duel.SortDecktop(tp,tp,4) Duel.SortDecktop(tp,tp,4)
end end
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