Commit f4315df6 authored by mercury233's avatar mercury233 Committed by GitHub

fix ウィッチクラフト・バイスマスター

parent a9af7f3a
...@@ -44,7 +44,8 @@ function c9603252.matfilter(c) ...@@ -44,7 +44,8 @@ function c9603252.matfilter(c)
return c:IsRace(RACE_SPELLCASTER) return c:IsRace(RACE_SPELLCASTER)
end end
function c9603252.condition(e,tp,eg,ep,ev,re,r,rp) function c9603252.condition(e,tp,eg,ep,ev,re,r,rp)
return (re:IsActiveType(TYPE_MONSTER) and re:GetHandler():IsRace(RACE_SPELLCASTER) and not re:GetHandler():IsType(TYPE_FUSION)) local race=Duel.GetChainInfo(ev,CHAININFO_TRIGGERING_RACE)
return (re:IsActiveType(TYPE_MONSTER) and race&RACE_SPELLCASTER>0 and not re:IsActiveType(TYPE_FUSION))
or re:IsActiveType(TYPE_SPELL) or re:IsActiveType(TYPE_SPELL)
end end
function c9603252.destg(e,tp,eg,ep,ev,re,r,rp,chk) function c9603252.destg(e,tp,eg,ep,ev,re,r,rp,chk)
......
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