Commit 148fc60a authored by xiaoye's avatar xiaoye

更改超判定相关

parent 26e077b6
This diff is collapsed.
...@@ -11,13 +11,11 @@ function VgF.VgCard(c) ...@@ -11,13 +11,11 @@ function VgF.VgCard(c)
VgD.Rule(c) VgD.Rule(c)
VgF.DefineArguments() VgF.DefineArguments()
VgD.RideUp(c) VgD.RideUp(c)
VgD.CardTrigger(c)
if c:IsType(TYPE_MONSTER) then if c:IsType(TYPE_MONSTER) then
VgD.CallToR(c) VgD.CallToR(c)
VgD.MonsterBattle(c) VgD.MonsterBattle(c)
end end
if not c:IsRace(TRIGGER_SUPER) then
VgD.CardTrigger(c,nil)
end
end end
---获取脚本基本信息 ---获取脚本基本信息
function GetID() function GetID()
...@@ -1202,9 +1200,9 @@ function VgF.AddMixCostGroupFilter(c,m,...) ...@@ -1202,9 +1200,9 @@ function VgF.AddMixCostGroupFilter(c,m,...)
local cm=_G["c"..m] local cm=_G["c"..m]
cm.cos_filter={...} cm.cos_filter={...}
end end
function VgF.AddEffectWhenTrigger(c,m,op,cost,con,tg) function VgF.AddEffectWhenTrigger(c,m,op,cost,con,tg,chk)
local cm=_G["c"..m] local cm=_G["c"..m]
cm.effect_when_trigger={op,cost,con,tg} cm.effect_when_trigger={op,cost,con,tg,chk}
end end
function VgF.ShiftLocationFromString(str) function VgF.ShiftLocationFromString(str)
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
local cm,m,o=GetID() local cm,m,o=GetID()
function cm.initial_effect(c) function cm.initial_effect(c)
vgf.VgCard(c) vgf.VgCard(c)
vgd.CardTrigger(c,cm.operation) vgf.AddEffectWhenTrigger(c,m,cm.operation)
end end
function cm.operation(e,tp,eg,ep,ev,re,r,rp) function cm.operation(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
......
local cm,m,o=GetID() local cm,m,o=GetID()
function cm.initial_effect(c) function cm.initial_effect(c)
vgf.VgCard(c) vgf.VgCard(c)
vgd.CardTrigger(c,cm.op) vgf.AddEffectWhenTrigger(c,m,cm.op)
end end
function cm.op(e,tp,eg,ep,ev,re,r,rp) function cm.op(e,tp,eg,ep,ev,re,r,rp)
local g=vgf.SelectMatchingCard(HINTMSG_VMONSTER,e,tp,vgf.VMonsterFilter,tp,LOCATION_MZONE,0,1,1,nil) local g=vgf.SelectMatchingCard(HINTMSG_VMONSTER,e,tp,vgf.VMonsterFilter,tp,LOCATION_MZONE,0,1,1,nil)
......
local cm,m,o=GetID() local cm,m,o=GetID()
function cm.initial_effect(c) function cm.initial_effect(c)
vgf.VgCard(c) vgf.VgCard(c)
vgd.CardTrigger(c,cm.op) vgf.AddEffectWhenTrigger(c,m,cm.op)
end end
function cm.op(e,tp,eg,ep,ev,re,r,rp) function cm.op(e,tp,eg,ep,ev,re,r,rp)
local e1=Effect.CreateEffect(e:GetHandler()) local e1=Effect.CreateEffect(e:GetHandler())
......
local cm,m,o=GetID() local cm,m,o=GetID()
function cm.initial_effect(c) function cm.initial_effect(c)
vgf.VgCard(c) vgf.VgCard(c)
vgd.CardTrigger(c,cm.op) vgf.AddEffectWhenTrigger(c,m,cm.op)
end end
function cm.op(e,tp,eg,ep,ev,re,r,rp) function cm.op(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
......
local cm,m,o=GetID() local cm,m,o=GetID()
function cm.initial_effect(c) function cm.initial_effect(c)
vgf.VgCard(c) vgf.VgCard(c)
vgd.CardTrigger(c,cm.operation) vgf.AddEffectWhenTrigger(c,m,cm.operation)
end end
function cm.operation(e,tp,eg,ep,ev,re,r,rp) function cm.operation(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
......
...@@ -3,7 +3,7 @@ local cm,m,o=GetID() ...@@ -3,7 +3,7 @@ local cm,m,o=GetID()
function cm.initial_effect(c) function cm.initial_effect(c)
vgf.VgCard(c) vgf.VgCard(c)
--追加效果——抽1张卡!选择你的1个单位,这个回合中,☆+1!将当前存在于前列的你所有的单位的力量+10000!你的伤害区中的卡的张数在对手的伤害区中的卡的张数以上的话,选择你的伤害区中的1张卡,回复! --追加效果——抽1张卡!选择你的1个单位,这个回合中,☆+1!将当前存在于前列的你所有的单位的力量+10000!你的伤害区中的卡的张数在对手的伤害区中的卡的张数以上的话,选择你的伤害区中的1张卡,回复!
vgd.CardTrigger(c,cm.operation) vgf.AddEffectWhenTrigger(c,m,cm.operation)
end end
function cm.operation(e,tp,eg,ep,ev,re,r,rp) function cm.operation(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
......
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