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

2023/12/1 效果修改

parent c0cf03b2
Pipeline #24219 passed with stages
in 24 minutes and 14 seconds
local m=120254077 local m=120254077
local list={120252007} local list={120254077,120252007}
local cm=_G["c"..m] local cm=_G["c"..m]
cm.name="灵魂骑士" cm.name="灵魂骑士"
function cm.initial_effect(c) function cm.initial_effect(c)
...@@ -17,7 +17,7 @@ function cm.initial_effect(c) ...@@ -17,7 +17,7 @@ function cm.initial_effect(c)
end end
--Special Summon --Special Summon
function cm.spfilter(c,e,tp) function cm.spfilter(c,e,tp)
return c:IsCode(m,list[1]) and RD.IsCanBeSpecialSummoned(c,e,tp,POS_FACEUP_DEFENSE) return c:IsCode(list[1],list[2]) and RD.IsCanBeSpecialSummoned(c,e,tp,POS_FACEUP_DEFENSE)
end end
function cm.condition(e,tp,eg,ep,ev,re,r,rp) function cm.condition(e,tp,eg,ep,ev,re,r,rp)
return RD.IsSummonTurn(e:GetHandler()) return RD.IsSummonTurn(e:GetHandler())
......
...@@ -20,8 +20,8 @@ function cm.costfilter2(c) ...@@ -20,8 +20,8 @@ function cm.costfilter2(c)
return c:IsLevelAbove(7) and c:IsAttribute(ATTRIBUTE_LIGHT) and c:IsRace(RACE_FIEND) and c:IsAbleToDeckOrExtraAsCost() return c:IsLevelAbove(7) and c:IsAttribute(ATTRIBUTE_LIGHT) and c:IsRace(RACE_FIEND) and c:IsAbleToDeckOrExtraAsCost()
end end
function cm.costcheck(g) function cm.costcheck(g)
return (g:GetCount()==1 and g:FilterCount(Card.IsLocation,nil,LOCATION_HAND)==1) return RD.GroupAllCount(g,Card.IsLocation,1,LOCATION_HAND)
or (g:GetCount()==3 and g:FilterCount(Card.IsLocation,nil,LOCATION_GRAVE)==3) or RD.GroupAllCount(g,Card.IsLocation,3,LOCATION_GRAVE)
end end
function cm.filter(c) function cm.filter(c)
return c:IsPosition(POS_FACEUP_ATTACK) and c:IsAttribute(ATTRIBUTE_LIGHT) and c:IsRace(RACE_FIEND) and RD.IsCanChangePosition(c) return c:IsPosition(POS_FACEUP_ATTACK) and c:IsAttribute(ATTRIBUTE_LIGHT) and c:IsRace(RACE_FIEND) and RD.IsCanChangePosition(c)
......
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