Commit df99b824 authored by 未闻皂名's avatar 未闻皂名

2022/11/8 新增:魔将 雅灭鲁拉-武枪

parent df5ad575
No preview for this file type
...@@ -6,7 +6,7 @@ RACE_CYBORG = 0x2000000 -- 电子人 ...@@ -6,7 +6,7 @@ RACE_CYBORG = 0x2000000 -- 电子人
RACE_MAGICALKNIGHT = 0x4000000 -- 魔导骑士 RACE_MAGICALKNIGHT = 0x4000000 -- 魔导骑士
RACE_HYDRAGON = 0x8000000 -- 多头龙 RACE_HYDRAGON = 0x8000000 -- 多头龙
RACE_OMEGAPSYCHO = 0x10000000 -- 欧米茄念动力 RACE_OMEGAPSYCHO = 0x10000000 -- 欧米茄念动力
RACE_CELESTIALKNIGHT = 0x20000000 -- 天界骑 RACE_CELESTIALWARRIOR = 0x20000000 -- 天界战
RACE_GALAXY = 0x40000000 -- 银河 RACE_GALAXY = 0x40000000 -- 银河
RACE_ALL = 0x7fffffff RACE_ALL = 0x7fffffff
......
local m=120231052
local cm=_G["c"..m]
cm.name="魔将 雅灭鲁拉-武枪"
function cm.initial_effect(c)
--Indes
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_INDESTRUCTABLE_EFFECT)
e1:SetRange(LOCATION_MZONE)
e1:SetTargetRange(LOCATION_MZONE,LOCATION_MZONE)
e1:SetTarget(cm.target)
e1:SetValue(cm.indval)
c:RegisterEffect(e1)
end
--Indes
cm.indval=RD.ValueEffectIndesType(0,TYPE_TRAP,true)
function cm.target(e,c)
return c:IsFaceup() and c:IsLevelAbove(7) and c:IsRace(RACE_CELESTIALWARRIOR+RACE_WARRIOR)
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