Commit d23d3390 authored by jwyxym's avatar jwyxym Committed by GitHub

Add files via upload

parent 6d1b9075
VgD={}
vg=VgD
--函数装封
--单位卡
function VgD.VgMonster(c)
VgD.Rule(c)
VgD.RideUp(c)
VgD.CallToV(c)
VgD.MonsterBattle(c)
VgD.MonsterTrigger(c)
end
--骑升
function VgD.RideUp(c)
......
VgF={}
vgf=VgF
POS_FACEUP_DEFENCE=POS_FACEUP_DEFENSE
POS_FACEDOWN_DEFENCE=POS_FACEDOWN_DEFENSE
function VgF.VgMonster(c)
VgD.Rule(c)
VgD.RideUp(c)
VgD.CallToV(c)
VgD.MonsterBattle(c)
VgD.MonsterTrigger(c)
end
function GetID()
local offset=self_code<100000000 and 1 or 100
return self_table,self_code,offset
......
--
local cm,m,o=GetID()
function cm.initial_effect(c)
vg.VgMonster(c)
local e100=Effect.CreateEffect(c)
e100:SetType(EFFECT_TYPE_IGNITION)
e100:SetRange(LOCATION_MZONE)
e100:SetOperation(cm.op)
c:RegisterEffect(e100)
end
function cm.op(e,tp,eg,ep,ev,re,r,rp)
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_SET_ATTACK)
e1:SetValue(-100)
e1:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END)
e:GetHandler():RegisterEffect(e1)
local g=Duel.GetMatchingGroup(nil,tp,0,LOCATION_MZONE,nil)
for tc in vg.Next(g) do
local e2=Effect.CreateEffect(e:GetHandler())
e2:SetType(EFFECT_TYPE_SINGLE)
e2:SetCode(EFFECT_SET_ATTACK)
e2:SetValue(-500)
e2:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END)
tc:RegisterEffect(e2)
end
local def=e:GetHandler():GetAttack()
Debug.Message(def)
VgF.VgMonster(c)
end
\ No newline at end of file
--
local cm,m,o=GetID()
function cm.initial_effect(c)
vg.VgMonster(c)
end
VgF.VgMonster(c)
end
\ No newline at end of file
--
local cm,m,o=GetID()
function cm.initial_effect(c)
vg.VgMonster(c)
end
VgF.VgMonster(c)
end
\ No newline at end of file
--
local cm,m,o=GetID()
function cm.initial_effect(c)
vg.VgMonster(c)
end
VgF.VgMonster(c)
end
\ No newline at end of file
--
local cm,m,o=GetID()
function cm.initial_effect(c)
VgF.VgMonster(c)
end
\ No newline at end of file
--
local cm,m,o=GetID()
function cm.initial_effect(c)
VgF.VgMonster(c)
end
\ No newline at end of file
--
local cm,m,o=GetID()
function cm.initial_effect(c)
VgF.VgMonster(c)
end
\ No newline at end of file
--
local cm,m,o=GetID()
function cm.initial_effect(c)
VgF.VgMonster(c)
end
\ No newline at end of file
--
local cm,m,o=GetID()
function cm.initial_effect(c)
VgF.VgMonster(c)
end
\ No newline at end of file
--
local cm,m,o=GetID()
function cm.initial_effect(c)
VgF.VgMonster(c)
end
\ No newline at end of file
--
local cm,m,o=GetID()
function cm.initial_effect(c)
VgF.VgMonster(c)
end
\ No newline at end of file
--
local cm,m,o=GetID()
function cm.initial_effect(c)
VgF.VgMonster(c)
end
\ No newline at end of file
--
local cm,m,o=GetID()
function cm.initial_effect(c)
VgF.VgMonster(c)
end
\ No newline at end of file
--
local cm,m,o=GetID()
function cm.initial_effect(c)
VgF.VgMonster(c)
end
\ No newline at end of file
--
local cm,m,o=GetID()
function cm.initial_effect(c)
end
\ No newline at end of file
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