Commit 9c6203ea authored by mercury233's avatar mercury233 Committed by GitHub

fix Myutant Clash

parent a4f26e5f
...@@ -72,7 +72,7 @@ function c5466615.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -72,7 +72,7 @@ function c5466615.activate(e,tp,eg,ep,ev,re,r,rp)
end end
function c5466615.drcon(e,tp,eg,ep,ev,re,r,rp) function c5466615.drcon(e,tp,eg,ep,ev,re,r,rp)
local ec,bc=Duel.GetBattleMonster(tp) local ec,bc=Duel.GetBattleMonster(tp)
return bc and ec:IsSetCard(0x157) and ec:IsLevelAbove(8) return ec and bc and ec:IsSetCard(0x157) and ec:IsLevelAbove(8)
end end
function c5466615.drtg(e,tp,eg,ep,ev,re,r,rp,chk) function c5466615.drtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsPlayerCanDraw(tp,1) end if chk==0 then return Duel.IsPlayerCanDraw(tp,1) end
...@@ -84,4 +84,4 @@ function c5466615.drop(e,tp,eg,ep,ev,re,r,rp) ...@@ -84,4 +84,4 @@ function c5466615.drop(e,tp,eg,ep,ev,re,r,rp)
if not e:GetHandler():IsRelateToEffect(e) then return end if not e:GetHandler():IsRelateToEffect(e) then return end
local p,d=Duel.GetChainInfo(0,CHAININFO_TARGET_PLAYER,CHAININFO_TARGET_PARAM) local p,d=Duel.GetChainInfo(0,CHAININFO_TARGET_PLAYER,CHAININFO_TARGET_PARAM)
Duel.Draw(p,d,REASON_EFFECT) Duel.Draw(p,d,REASON_EFFECT)
end end
\ No newline at end of file
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