Commit 27b48f4e authored by 未闻皂名's avatar 未闻皂名

2024/3/31 bug修复

parent 644f9e95
Pipeline #26187 passed with stages
in 6 minutes and 7 seconds
......@@ -22,5 +22,5 @@ end
cm.cost=RD.CostSendDeckTopToGrave(2)
--Atk Up
function cm.uptg(e,c)
return c:IsFaceup() and c:GetBaseDefense()==1000 and c:IsLevelAbove(5)
return c:IsFaceup() and not RD.IsMaximumMode(c) and c:GetBaseDefense()==1000 and c:IsLevelAbove(5)
end
\ No newline at end of file
......@@ -8,7 +8,6 @@ function cm.initial_effect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_GRAVE_SPSUMMON)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetCondition(cm.condition)
e1:SetTarget(cm.target)
e1:SetOperation(cm.operation)
c:RegisterEffect(e1)
......@@ -17,9 +16,6 @@ end
function cm.spfilter(c,e,tp)
return c:IsLevelBelow(4) and RD.IsDefenseBelow(c,900) and RD.IsCanBeSpecialSummoned(c,e,tp,POS_FACEUP)
end
function cm.condition(e,tp,eg,ep,ev,re,r,rp)
return RD.IsSummonTurn(e:GetHandler())
end
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetMZoneCount(tp)>1
and Duel.IsExistingMatchingCard(cm.spfilter,tp,LOCATION_GRAVE,0,2,nil,e,tp) end
......
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