Commit 8e86a4f4 authored by 未闻皂名's avatar 未闻皂名

2025/12/16 新增:特洛伊木马

parent 3e48a41b
Pipeline #41985 passed with stages
in 13 minutes and 51 seconds
No preview for this file type
local cm,m=GetID()
cm.name="特洛伊木马"
function cm.initial_effect(c)
--Double Tribute
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_DOUBLE_TRIBUTE)
e1:SetValue(cm.trival)
c:RegisterEffect(e1)
--Continuous Effect
RD.AddContinuousEffect(c,e1)
end
--Double Tribute
function cm.trival(e,c)
if e==nil then return true,1 end
return c:IsLevel(7,8) and c:IsAttribute(ATTRIBUTE_EARTH)
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