Commit 9e658646 authored by DailyShana's avatar DailyShana

fix エマージェンシー・サイバー

parent 105b41cf
...@@ -40,7 +40,8 @@ function c60600126.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -40,7 +40,8 @@ function c60600126.activate(e,tp,eg,ep,ev,re,r,rp)
end end
function c60600126.thcon(e,tp,eg,ep,ev,re,r,rp) function c60600126.thcon(e,tp,eg,ep,ev,re,r,rp)
local de,dp=Duel.GetChainInfo(ev,CHAININFO_DISABLE_REASON,CHAININFO_DISABLE_PLAYER) local de,dp=Duel.GetChainInfo(ev,CHAININFO_DISABLE_REASON,CHAININFO_DISABLE_PLAYER)
return rp==tp and de and dp==1-tp and re:IsHasType(EFFECT_TYPE_ACTIVATE) and e:GetHandler()==re:GetHandler() return rp==tp and de and dp==1-tp and re:IsHasType(EFFECT_TYPE_ACTIVATE)
and e:GetHandler()==re:GetHandler() and e:GetHandler():GetReasonEffect()==de
end end
function c60600126.thcost(e,tp,eg,ep,ev,re,r,rp,chk) function c60600126.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(Card.IsDiscardable,tp,LOCATION_HAND,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(Card.IsDiscardable,tp,LOCATION_HAND,0,1,nil) 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