Commit bc30c141 authored by wind2009's avatar wind2009

Fix 光の黄金櫃

parent b20698dd
......@@ -58,7 +58,7 @@ function s.srop(e,tp,eg,ep,ev,re,r,rp)
end
end
function s.gyfilter(c,tp)
return c:IsSummonLocation(LOCATION_GRAVE) and c:IsSummonPlayer(1-tp) and c:IsAbleToGrave()
return c:IsSummonLocation(LOCATION_GRAVE) and c:IsSummonPlayer(1-tp) and c:IsAbleToGrave() and bit.band(c:GetOriginalType(),TYPE_MONSTER)~=0
end
function s.gycon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(s.gyfilter,1,nil,tp)
......
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