Added Universe Seed to the game
This commit is contained in:
18
lua/c561586057.lua
Normal file
18
lua/c561586057.lua
Normal file
@@ -0,0 +1,18 @@
|
||||
--Universe Seed
|
||||
local s,id=GetID()
|
||||
function s.initial_effect(c)
|
||||
--pendulum summon
|
||||
Pendulum.AddProcedure(c)
|
||||
--atk change, pendulum effect
|
||||
local e1=Effect.CreateEffect(c)
|
||||
e1:SetType(EFFECT_TYPE_FIELD)
|
||||
e1:SetCode(EFFECT_UPDATE_ATTACK)
|
||||
e1:SetRange(LOCATION_PZONE)
|
||||
e1:SetTargetRange(LOCATION_MZONE,LOCATION_MZONE)
|
||||
e1:SetTarget(s.efilter)
|
||||
e1:SetValue(400)
|
||||
c:RegisterEffect(e1)
|
||||
end
|
||||
function s.efilter(e,c)
|
||||
return c:IsType(TYPE_NORMAL)
|
||||
end
|
||||
Reference in New Issue
Block a user