Commit 77df66b8 authored by 未闻皂名's avatar 未闻皂名

2023/3/1 bug修复

parent 4fb09f11
......@@ -39,6 +39,6 @@ function cm.chainlimit(e,rp,tp)
end
--Indes
cm.indval=RD.ValueEffectIndesType(0,TYPE_SPELL+TYPE_TRAP+TYPE_MONSTER)
function cm.indcon(e,tp,eg,ep,ev,re,r,rp)
return cm.actcon(e,tp,eg,ep,ev,re,r,rp) and RD.MaximumMode(e,tp,eg,ep,ev,re,r,rp)
function cm.indcon(e)
return cm.actcon(e,e:GetHandlerPlayer()) and RD.MaximumMode(e)
end
\ No newline at end of file
......@@ -28,12 +28,12 @@ cm.indval=RD.ValueEffectIndesType(0,TYPE_SPELL+TYPE_TRAP+TYPE_MONSTER)
function cm.confilter(c)
return c:IsType(TYPE_MONSTER)
end
function cm.indcon(e,tp,eg,ep,ev,re,r,rp)
return not Duel.IsExistingMatchingCard(cm.confilter,tp,LOCATION_GRAVE,0,1,nil)
function cm.indcon(e)
return not Duel.IsExistingMatchingCard(cm.confilter,e:GetHandlerPlayer(),LOCATION_GRAVE,0,1,nil)
end
--Cannot Activate
function cm.actcon(e,tp,eg,ep,ev,re,r,rp)
return cm.indcon(e,tp,eg,ep,ev,re,r,rp) and RD.MaximumMode(e,tp,eg,ep,ev,re,r,rp)
return cm.indcon(e) and RD.MaximumMode(e)
end
function cm.actlimit(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_CARD,0,m)
......
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