Commit 2b1633a9 authored by TanakaKotoha's avatar TanakaKotoha

dededededededededededede

parent df8198a8
......@@ -7,7 +7,7 @@ function cm.initial_effect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e1:SetCode(EFFECT_ADD_RACE)
e1:SetRange(LOCATION_ONFIELD+LOCATION_EXTRA+LOCATION_DECK+LOCATION_GRAVE+LOCATION_REMOVED)
e1:SetRange(0x3ee)
e1:SetValue(RACE_SPELLCASTER)
c:RegisterEffect(e1)
--target
......@@ -104,8 +104,8 @@ function cm.rtdtg(e,tp,eg,ep,ev,re,r,rp,chk)
end
function cm.rtdop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
if c:IsRelateToEffect(e) and c:IsCanBeSpecialSummoned(e,0,tp,true,false) then
Duel.SpecialSummon(c,0,tp,tp,true,false,POS_FACEUP)
if c:IsRelateToEffect(e) and c:IsAbleToHand() then
Duel.SendtoHand(c,nil,REASON_EFFECT)
end
end
function cm.destg(e,tp,eg,ep,ev,re,r,rp,chk)
......@@ -119,7 +119,7 @@ function cm.desop(e,tp,eg,ep,ev,re,r,rp)
if g:GetCount()>0 then
Duel.HintSelection(g)
if Duel.Destroy(g,REASON_EFFECT)~=0 then
Duel.RegisterFlagEffect(tp,m+100,0,0,1)
Duel.RegisterFlagEffect(tp,m+100,0,0,1)
Duel.Damage(1-tp,1500,REASON_EFFECT)
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