Commit 21421738 authored by Steeldarkeagel's avatar Steeldarkeagel

Update c87751584.lua

Fix: If the number of heads is greater than the number of monsters on the field then monsters will still be destroyed.
parent fc1a2092
......@@ -23,7 +23,7 @@ function c87751584.desop(e,tp,eg,ep,ev,re,r,rp)
if g:GetCount()==0 then return end
local c1,c2,c3=Duel.TossCoin(tp,3)
local ct=c1+c2+c3
if ct==0 or ct>g:GetCount() then return end
if ct==0 then return end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DESTROY)
local dg=g:Select(tp,ct,ct,nil)
Duel.HintSelection(dg)
......
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