Commit 70c48b60 authored by jwyxym's avatar jwyxym Committed by GitHub

Update README.md

parent 4156818e
......@@ -104,15 +104,15 @@
--在这个地方注册一个起动效果
vgd.EffectTypeIgnition(c,m,LOCATION_MZONE --[[怪兽区域的效果]] ,cm.operation --[[对下文同名函数调用]] ,vgf.OverlayCost(2)--[[调用VgFunction库中[灵魂爆发]的封装函数]],vgf.RMonsterCondition--[[检测这张卡在R位]],tg,count,property--[[往后的参数都没了,可以直接不填,也可以填写“nil(无)”、“false(错误)”或原本参数名“tg”、“count”、“property”]])
vgd.EffectTypeIgnition(c,m,LOCATION_MZONE --[[怪兽区域的效果]] ,cm.operation --[[对下文同名函数调用]] ,vgf.OverlayCost(2) --[[调用VgFunction库中[灵魂爆发]的封装函数]] ,vgf.RMonsterCondition --[[检测这张卡在R位]] ,tg,count,property --[[往后的参数都没了,可以直接不填,也可以填写“nil(无)”、“false(错误)”或原本参数名“tg”、“count”、“property”]] )
end
function cm.operation(e,tp,eg,ep,ev,re,r,rp)--[[8位参数由内核固定传入,费用函数会多传1位“chk”]]
function cm.operation(e,tp,eg,ep,ev,re,r,rp) --[[8位参数由内核固定传入,费用函数会多传1位“chk”]]
local c=e:GetHandler()--[[得到卡片自身]]
local c=e:GetHandler() --[[得到卡片自身]]
vgf.AtkUp(c,c,5000)--[[调用函数上升自身攻击力]]
vgf.AtkUp(c,c,5000) --[[调用函数上升自身攻击力]]
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