Commit ca594294 authored by wind2009's avatar wind2009 Committed by GitHub

Fix ウィッチクラフト・デモンストレーション (#2342)

parent ec7a5f8c
...@@ -47,7 +47,8 @@ function c70226289.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -47,7 +47,8 @@ function c70226289.activate(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function c70226289.chainop(e,tp,eg,ep,ev,re,r,rp) function c70226289.chainop(e,tp,eg,ep,ev,re,r,rp)
if re:IsActiveType(TYPE_MONSTER) and re:GetHandler():IsRace(RACE_SPELLCASTER) and ep==tp then local race=Duel.GetChainInfo(ev,CHAININFO_TRIGGERING_RACE)
if re:IsActiveType(TYPE_MONSTER) and bit.band(race,RACE_SPELLCASTER)~=0 and ep==tp then
Duel.SetChainLimit(c70226289.chainlm) Duel.SetChainLimit(c70226289.chainlm)
end end
end 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