Commit c84032b0 authored by mercury233's avatar mercury233

fix

parent f7c0464e
...@@ -65,6 +65,7 @@ function c100414023.activate2(e,tp,eg,ep,ev,re,r,rp) ...@@ -65,6 +65,7 @@ function c100414023.activate2(e,tp,eg,ep,ev,re,r,rp)
if e:IsHasType(EFFECT_TYPE_ACTIVATE) and tc:IsLocation(LOCATION_HAND) if e:IsHasType(EFFECT_TYPE_ACTIVATE) and tc:IsLocation(LOCATION_HAND)
and Duel.IsExistingMatchingCard(c100414023.thfilter2,tp,LOCATION_DECK,0,1,nil,tc:GetCode(),tc:GetOriginalLevel()) then and Duel.IsExistingMatchingCard(c100414023.thfilter2,tp,LOCATION_DECK,0,1,nil,tc:GetCode(),tc:GetOriginalLevel()) then
Duel.BreakEffect() Duel.BreakEffect()
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
local tg=Duel.SelectMatchingCard(tp,c100414023.thfilter2,tp,LOCATION_DECK,0,1,1,nil,tc:GetCode(),tc:GetOriginalLevel()) local tg=Duel.SelectMatchingCard(tp,c100414023.thfilter2,tp,LOCATION_DECK,0,1,1,nil,tc:GetCode(),tc:GetOriginalLevel())
Duel.SendtoHand(tg,nil,REASON_EFFECT) Duel.SendtoHand(tg,nil,REASON_EFFECT)
Duel.ConfirmCards(1-tp,tg) Duel.ConfirmCards(1-tp,tg)
......
...@@ -10,7 +10,6 @@ function c100414025.initial_effect(c) ...@@ -10,7 +10,6 @@ function c100414025.initial_effect(c)
e1:SetCode(EVENT_FREE_CHAIN) e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(0,TIMINGS_CHECK_MONSTER+TIMING_END_PHASE) e1:SetHintTiming(0,TIMINGS_CHECK_MONSTER+TIMING_END_PHASE)
e1:SetCountLimit(1,100414025+EFFECT_COUNT_CODE_OATH) e1:SetCountLimit(1,100414025+EFFECT_COUNT_CODE_OATH)
e1:SetCost(c100414025.cost)
e1:SetTarget(c100414025.target) e1:SetTarget(c100414025.target)
e1:SetOperation(c100414025.activate) e1:SetOperation(c100414025.activate)
c:RegisterEffect(e1) c:RegisterEffect(e1)
......
...@@ -10,7 +10,6 @@ function c100414026.initial_effect(c) ...@@ -10,7 +10,6 @@ function c100414026.initial_effect(c)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetHintTiming(0,TIMINGS_CHECK_MONSTER+TIMING_END_PHASE) e1:SetHintTiming(0,TIMINGS_CHECK_MONSTER+TIMING_END_PHASE)
e1:SetCountLimit(1,100414026+EFFECT_COUNT_CODE_OATH) e1:SetCountLimit(1,100414026+EFFECT_COUNT_CODE_OATH)
e1:SetCost(c100414026.cost)
e1:SetTarget(c100414026.target) e1:SetTarget(c100414026.target)
e1:SetOperation(c100414026.activate) e1:SetOperation(c100414026.activate)
c:RegisterEffect(e1) c:RegisterEffect(e1)
......
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