Commit 5f1c76a4 authored by GuGu's avatar GuGu

Update c25060.lua

parent 53c80503
Pipeline #40323 passed with stage
in 1 minute and 41 seconds
...@@ -67,7 +67,7 @@ function c25060.tg(e,c) ...@@ -67,7 +67,7 @@ function c25060.tg(e,c)
end end
function c25060.filter(c) function c25060.filter(c)
return (bit.band(c:GetReason(),REASON_DISCARD)~=0 or bit.band(c:GetReason(),REASON_RELEASE)~=0) return (bit.band(c:GetReason(),REASON_DISCARD)~=0 or bit.band(c:GetReason(),REASON_RELEASE)~=0)
and c:IsSetCard(0x208) and c:IsAbleToHand() and c:IsAttribute(ATTRIBUTE_WATER) and c:IsSetCard(0x208) and c:IsAbleToHand()
end end
function c25060.stg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c25060.stg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_GRAVE) and chkc:IsControler(tp) and c25060.filter(chkc) end if chkc then return chkc:IsLocation(LOCATION_GRAVE) and chkc:IsControler(tp) and c25060.filter(chkc) 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