New card pictures, new IDs, updated effects
This commit is contained in:
23
lua/c56158658.lua
Normal file
23
lua/c56158658.lua
Normal file
@@ -0,0 +1,23 @@
|
||||
--Universe Light God
|
||||
local s,id=GetID()
|
||||
function s.initial_effect(c)
|
||||
--pendulum summon
|
||||
Pendulum.AddProcedure(c)
|
||||
--cannot be target | copied from c77797992
|
||||
local e2=Effect.CreateEffect(c)
|
||||
e2:SetType(EFFECT_TYPE_FIELD)
|
||||
e2:SetCode(EFFECT_INDESTRUCTABLE_EFFECT)
|
||||
e2:SetRange(LOCATION_MZONE)
|
||||
e2:SetTargetRange(LOCATION_MZONE,0)
|
||||
e2:SetTarget(s.targetd)
|
||||
e2:SetValue(1)
|
||||
c:RegisterEffect(e2)
|
||||
local e3=e2:Clone()
|
||||
e3:SetCode(EFFECT_CANNOT_BE_EFFECT_TARGET)
|
||||
e3:SetProperty(EFFECT_FLAG_IGNORE_IMMUNE)
|
||||
e3:SetValue(1)
|
||||
c:RegisterEffect(e3)
|
||||
end
|
||||
function s.targetd(e,c)
|
||||
return c:IsFaceup() and c:IsSetCard(0x25e)
|
||||
end
|
||||
Reference in New Issue
Block a user