Added Universe Seed to the game

This commit is contained in:
2021-11-28 22:05:41 +01:00
commit a342dd5558
8 changed files with 24 additions and 0 deletions

18
lua/c561586057.lua Normal file
View 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