Commit 07e855ec authored by 聖園ミカ's avatar 聖園ミカ 🐟

Replace c22100000.lua

parent 6129e919
Pipeline #31262 passed with stages
in 27 minutes and 38 seconds
......@@ -66,8 +66,8 @@ function cm.atkval(e,c)
return atk
end
function cm.defval(e,c)
local def=c:GetDefense()
if c:GetControler()~=e:GetHandlerPlayer() then def=-def/2 end
local atk=c:GetAttack()
if c:GetControler()~=e:GetHandlerPlayer() then atk=-atk/2 end
return atk
end
function cm.atkval1(e,c)
......@@ -111,6 +111,7 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(nil,tp,loc,loc,c)
if #g>0 then
local atk=Duel.SendtoDeck(g,nil,2,REASON_RULE)*200
local def=atk
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_SET_BASE_ATTACK)
......
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