Commit 6b54177c authored by POLYMER's avatar POLYMER

fix

parent bc4bac19
......@@ -103,14 +103,14 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
local e5=Effect.CreateEffect(c)
e5:SetType(EFFECT_TYPE_SINGLE)
e5:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e5:SetCode(EFFECT_SET_ATTACK_FINAL)
e5:SetCode(EFFECT_SET_ATTACK)
e5:SetValue(atk)
e5:SetReset(RESET_EVENT+RESETS_STANDARD-RESET_TOFIELD)
token:RegisterEffect(e5,true)
local e6=Effect.CreateEffect(c)
e6:SetType(EFFECT_TYPE_SINGLE)
e6:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e6:SetCode(EFFECT_SET_BASE_DEFENSE_FINAL)
e6:SetCode(EFFECT_SET_DEFENSE)
e6:SetValue(def)
e6:SetReset(RESET_EVENT+RESETS_STANDARD-RESET_TOFIELD)
token:RegisterEffect(e6,true)
......
......@@ -82,9 +82,12 @@ function c9910853.retcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsAbleToHandAsCost() end
Duel.SendtoHand(e:GetHandler(),nil,REASON_COST)
end
function c9910853.cffilter(c)
return not c:IsPublic()
end
function c9910853.retop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local g=Duel.GetMatchingGroup(Card.IsAbleToRemove,tp,0,LOCATION_HAND,nil,1-tp)
local g=Duel.GetMatchingGroup(c9910853.cffilter,tp,0,LOCATION_HAND,nil)
local ct=g:GetCount()
if ct<=0 then return end
if ct>2 then ct=2 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