Commit 19ff1cff authored by 未闻皂名's avatar 未闻皂名

2023/11/2 新增:纯爱天使

parent 49e3c2ab
Pipeline #23943 passed with stages
in 7 minutes and 43 seconds
No preview for this file type
local m=120253030
local cm=_G["c"..m]
cm.name="纯爱天使"
function cm.initial_effect(c)
--Indes
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_INDESTRUCTABLE_BATTLE)
e1:SetValue(cm.indes)
c:RegisterEffect(e1)
--No Damage
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_SINGLE)
e2:SetCode(EFFECT_AVOID_BATTLE_DAMAGE)
e2:SetValue(cm.battle)
c:RegisterEffect(e2)
--Continuous Effect
RushDuel.AddContinuousEffect(c,e1,e2)
end
--Indes
function cm.indes(e,c)
return c:IsAttackAbove(2500)
end
--No Damage
function cm.battle(e,c)
return c and c:IsLevelBelow(9)
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