Commit d2d14671 authored by argon's avatar argon

fix

parent 43069627
......@@ -43,6 +43,6 @@ function c1149109.desop(e,tp,eg,ep,ev,re,r,rp)
ct=ct+1
c:SetTurnCounter(ct)
if ct==2 then
Duel.Destroy(c,REASON_EFFECT)
Duel.Destroy(c,REASON_RULE)
end
end
......@@ -19,7 +19,7 @@ function c57103969.initial_effect(c)
end
function c57103969.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetFlagEffect(tp,57103969)==0 end
Duel.RegisterFlagEffect(tp,57103969,RESET_PHASE+PHASE_END,0,1)
Duel.RegisterFlagEffect(tp,57103969,RESET_PHASE+PHASE_END,EFFECT_FLAG_OATH,1)
end
function c57103969.filter(c)
return c:IsLevelBelow(4) and c:IsRace(RACE_BEASTWARRIOR) and c:IsAbleToHand()
......
......@@ -14,7 +14,7 @@ function c72892473.target(e,tp,eg,ep,ev,re,r,rp,chk)
local h1=Duel.GetFieldGroupCount(tp,LOCATION_HAND,0)
if e:GetHandler():IsLocation(LOCATION_HAND) then h1=h1-1 end
local h2=Duel.GetFieldGroupCount(tp,0,LOCATION_HAND)
return (h1>0 or h2>0) and Duel.IsPlayerCanDraw(tp,(h1 > 0) and h1 or 1) and Duel.IsPlayerCanDraw(1-tp,1)
return h1>0 and Duel.IsPlayerCanDraw(tp,(h1 > 0) and h1 or 1) and Duel.IsPlayerCanDraw(1-tp,1)
end
Duel.SetOperationInfo(0,CATEGORY_HANDES,nil,0,PLAYER_ALL,1)
Duel.SetOperationInfo(0,CATEGORY_DRAW,nil,0,PLAYER_ALL,1)
......
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