Commit e140a217 authored by Tachibana's avatar Tachibana

eme

parent 52f495d2
...@@ -13,7 +13,7 @@ function c64800109.initial_effect(c) ...@@ -13,7 +13,7 @@ function c64800109.initial_effect(c)
e2:SetDescription(aux.Stringid(64800109,1)) e2:SetDescription(aux.Stringid(64800109,1))
e2:SetCategory(CATEGORY_SPECIAL_SUMMON) e2:SetCategory(CATEGORY_SPECIAL_SUMMON)
e2:SetType(EFFECT_TYPE_IGNITION) e2:SetType(EFFECT_TYPE_IGNITION)
e2:SetCountLimit(1,64810109) e2:SetCountLimit(64810109)
e2:SetRange(LOCATION_FZONE) e2:SetRange(LOCATION_FZONE)
e2:SetTarget(c64800109.target) e2:SetTarget(c64800109.target)
e2:SetOperation(c64800109.operation) e2:SetOperation(c64800109.operation)
...@@ -74,7 +74,7 @@ end ...@@ -74,7 +74,7 @@ end
function c64800109.operation(e,tp,eg,ep,ev,re,r,rp) function c64800109.operation(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TODECK) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TODECK)
local sg=Duel.SelectMatchingCard(tp,Card.IsAbleToDeck,tp,LOCATION_ONFIELD,0,1,1,nil) local sg=Duel.SelectMatchingCard(tp,Card.IsAbleToDeck,tp,LOCATION_ONFIELD+LOCATION_HAND,0,1,1,nil)
if sg:GetCount()>0 then if sg:GetCount()>0 then
Duel.HintSelection(sg) Duel.HintSelection(sg)
if Duel.SendtoDeck(sg,nil,2,REASON_EFFECT) then if Duel.SendtoDeck(sg,nil,2,REASON_EFFECT) then
...@@ -111,6 +111,6 @@ function c64800109.atkcon(e) ...@@ -111,6 +111,6 @@ function c64800109.atkcon(e)
return Duel.GetCurrentPhase()==PHASE_DAMAGE_CAL return Duel.GetCurrentPhase()==PHASE_DAMAGE_CAL
end end
function c64800109.atkval(e,c) function c64800109.atkval(e,c)
local ct=Duel.GetMatchingGroupCount(c64800109.atkfilter,p,LOCATION_ONFIELD,0,nil) local ct=Duel.GetMatchingGroupCount(c64800109.atkfilter,e:GetHandler():GetControler(),LOCATION_ONFIELD,0,nil)
return ct*500 return ct*500
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