Commit 9894abed authored by GuGu's avatar GuGu

Update c51205.lua 手发检测

parent db3f8faa
Pipeline #21222 passed with stage
in 1 minute and 5 seconds
......@@ -22,7 +22,7 @@ function c51205.confilter(c)
end
function c51205.atcon(e)
local g=Duel.GetMatchingGroup(c51205.confilter,e:GetHandlerPlayer(),LOCATION_ONFIELD,0,nil)
return g:GetClassCount(Card.GetAttribute)>=e:GetLabel()
return g:GetClassCount(Card.GetCode)>=e:GetLabel()
end
function c51205.discon(e,tp,eg,ep,ev,re,r,rp)
return not e:GetHandler():IsStatus(STATUS_BATTLE_DESTROYED) and rp~=tp and re:IsActiveType(TYPE_MONSTER) and Duel.IsChainDisablable(ev)
......
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