Commit b7e1defe authored by 八宫一月's avatar 八宫一月 Committed by GitHub

Fix 霊魂の円環 スピリットの誘い (#2455)

parent 98464b9e
......@@ -51,7 +51,7 @@ function c276357.activate(e,tp,eg,ep,ev,re,r,rp)
end
function c276357.filter(c,tp)
return c:IsPreviousLocation(LOCATION_MZONE) and c:IsPreviousPosition(POS_FACEUP)
and c:IsControler(tp) and c:IsType(TYPE_SPIRIT)
and c:IsControler(tp) and c:GetPreviousTypeOnField()&TYPE_SPIRIT>0
end
function c276357.descon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(c276357.filter,1,nil,tp) and e:GetHandler():IsStatus(STATUS_EFFECT_ENABLED)
......
......@@ -29,7 +29,7 @@ end
c92394653.has_text_type=TYPE_SPIRIT
function c92394653.filter(c,tp)
return c:IsPreviousLocation(LOCATION_MZONE) and c:IsPreviousPosition(POS_FACEUP)
and c:IsControler(tp) and c:IsType(TYPE_SPIRIT)
and c:IsControler(tp) and c:GetPreviousTypeOnField()&TYPE_SPIRIT>0
end
function c92394653.condition(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(c92394653.filter,1,nil,tp) and e:GetHandler():IsStatus(STATUS_EFFECT_ENABLED)
......
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