Commit 61e55fae authored by Clara Grace Paulsen's avatar Clara Grace Paulsen Committed by GitHub

workaround fix `Play the Diabell` (#2979)

parent 5a6192a6
...@@ -36,7 +36,7 @@ function s.cfilter(c,re) ...@@ -36,7 +36,7 @@ function s.cfilter(c,re)
or recode==EFFECT_QP_ACT_IN_SET_TURN or recode==EFFECT_QP_ACT_IN_SET_TURN
end end
function s.condition(e,tp,eg,ep,ev,re,r,rp) function s.condition(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(s.cfilter,1,nil,re) return eg:IsExists(s.cfilter,1,nil,re) and r&REASON_COST>0
end end
function s.tgfilter(c) function s.tgfilter(c)
return c:IsRace(RACE_ILLUSION+RACE_SPELLCASTER) and c:IsType(TYPE_MONSTER) and c:IsAbleToGrave() return c:IsRace(RACE_ILLUSION+RACE_SPELLCASTER) and c:IsType(TYPE_MONSTER) and c:IsAbleToGrave()
......
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