Commit f138af5a authored by whenmo's avatar whenmo Committed by GitHub

Update VgD.Lua

parent 56e031b5
......@@ -730,8 +730,9 @@ function VgD.ResetOperation(e,tp,eg,ep,ev,re,r,rp)
end
--指令卡
function VgD.SpellActivate(c,m,op,con,cost)
function VgD.SpellActivate(c,des,op,con,cost)
local e1=Effect.CreateEffect(c)
e1:SetDescription(des)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCountLimit(1,VgID+EFFECT_COUNT_CODE_OATH)
......@@ -898,4 +899,4 @@ function VgD.EffectTypeContinuousChangeAttack(c,typ,val,con)
e1:SetCondition(con)
e1:SetValue(val)
c:RegisterEffect(e1)
end
\ No newline at end of file
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