Commit 674a75bc authored by whenmo's avatar whenmo Committed by GitHub

Update README.md

parent ce27893e
......@@ -131,9 +131,7 @@ end
## 1.指令卡cost
因为魔合成的不向下兼容而生的函数, 用于通常指令的注册, 如效果:
> **通过【费用】[计数爆发1]施放!选择你的1个单位, 这个回合中, 力量+5000。选择你的弃牌区中的1张「瓦尔里纳」, 加入手牌**
因为魔合成的不向下兼容而生的函数, 用于通常指令的注册
```lua
VgD.SpellActivate(c, m, op, con[, chk, dis, eb, sb, sc, cb])
......@@ -153,6 +151,22 @@ VgD.SpellActivate(c, m, op, con[, chk, dis, eb, sb, sc, cb])
>
> **cb : 计数爆发x (Counter Blast) 不填默认为 0**
范例 : [骤阳之进化](c10101015.lua)
> **通过【费用】[计数爆发1]施放!**
> **选择你的1个单位,这个回合中,力量+5000。选择你的弃牌区中的1张「瓦尔里纳」,加入手牌。**
```lua
local cm,m,o=GetID()
function cm.initial_effect(c)
vgf.VgCard(c)
vgd.SpellActivate(c,m,vgf.SearchCard(LOCATION_DROP,cm.filter))
end
function cm.filter(c)
return c:IsCode(10101006)
end
```
## 2.被RIDE时
用于如以下效果的注册
......
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