Commit 434305a1 authored by salix5's avatar salix5

Revert "add toss_coin mark"

This reverts commit 5f67c188.
parent 0ca633b1
......@@ -38,7 +38,6 @@ function c15317640.initial_effect(c)
e4:SetOperation(c15317640.desop)
c:RegisterEffect(e4)
end
c15317640.toss_coin=true
function c15317640.addct(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
Duel.SetOperationInfo(0,CATEGORY_COUNTER,nil,2,0,0x1f)
......
......@@ -25,7 +25,6 @@ function c16625614.initial_effect(c)
e4:SetOperation(c16625614.operation)
c:RegisterEffect(e4)
end
c16625614.toss_coin=true
function c16625614.efilter(e,te)
local tc=te:GetHandler()
return not tc:IsCode(94212438)
......
......@@ -27,7 +27,6 @@ function c17032740.initial_effect(c)
c:RegisterEffect(e5)
end
c17032740.material_setcode=0x8
c17032740.toss_coin=true
function c17032740.splimit(e,se,sp,st)
return not e:GetHandler():IsLocation(LOCATION_EXTRA)
end
......
......@@ -28,7 +28,6 @@ function c21598948.initial_effect(c)
e3:SetOperation(c21598948.mtop)
c:RegisterEffect(e3)
end
c21598948.toss_coin=true
function c21598948.atkcon(e,tp,eg,ep,ev,re,r,rp)
return tp~=Duel.GetTurnPlayer()
end
......
......@@ -12,7 +12,6 @@ function c2196767.initial_effect(c)
e1:SetOperation(c2196767.desop)
c:RegisterEffect(e1)
end
c2196767.toss_coin=true
function c2196767.destg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
Duel.SetOperationInfo(0,CATEGORY_COIN,nil,0,tp,3)
......
......@@ -17,7 +17,6 @@ function c23846921.initial_effect(c)
e3:SetCode(EVENT_FLIP_SUMMON_SUCCESS)
c:RegisterEffect(e3)
end
c23846921.toss_coin=true
function c23846921.cointg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
Duel.SetOperationInfo(0,CATEGORY_COIN,nil,0,tp,1)
......
......@@ -13,7 +13,6 @@ function c25551951.initial_effect(c)
e1:SetOperation(c25551951.desop)
c:RegisterEffect(e1)
end
c25551951.toss_coin=true
function c25551951.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsOnField() and chkc:IsControler(1-tp) end
if chk==0 then return Duel.IsExistingTarget(aux.TRUE,tp,0,LOCATION_ONFIELD,1,nil) end
......
......@@ -31,7 +31,6 @@ function c28112535.initial_effect(c)
e5:SetOperation(c28112535.desop)
c:RegisterEffect(e5)
end
c28112535.toss_coin=true
function c28112535.atklimit(e,tp,eg,ep,ev,re,r,rp)
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_SINGLE)
......
......@@ -17,7 +17,6 @@ function c34568403.initial_effect(c)
e3:SetCode(EVENT_FLIP_SUMMON_SUCCESS)
c:RegisterEffect(e3)
end
c34568403.toss_coin=true
function c34568403.cointg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
Duel.SetOperationInfo(0,CATEGORY_COIN,nil,0,tp,1)
......
......@@ -17,7 +17,6 @@ function c35781051.initial_effect(c)
e3:SetCode(EVENT_FLIP_SUMMON_SUCCESS)
c:RegisterEffect(e3)
end
c35781051.toss_coin=true
function c35781051.cointg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
Duel.SetOperationInfo(0,CATEGORY_COIN,nil,0,tp,1)
......
......@@ -26,7 +26,6 @@ function c36378044.initial_effect(c)
e3:SetOperation(c36378044.desop)
c:RegisterEffect(e3)
end
c36378044.toss_coin=true
function c36378044.atkcon(e,tp,eg,ep,ev,re,r,rp)
return tp~=Duel.GetTurnPlayer()
end
......
......@@ -11,7 +11,6 @@ function c37313786.initial_effect(c)
e1:SetOperation(c37313786.activate)
c:RegisterEffect(e1)
end
c37313786.toss_coin=true
function c37313786.condition(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetFieldGroupCount(tp,LOCATION_HAND,0)<=2 and Duel.GetFieldGroupCount(tp,0,LOCATION_HAND)>=6
end
......
......@@ -10,7 +10,6 @@ function c37812118.initial_effect(c)
e1:SetOperation(c37812118.activate)
c:RegisterEffect(e1)
end
c37812118.toss_coin=true
function c37812118.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsPlayerCanDraw(tp,2) and Duel.IsPlayerCanDraw(1-tp,2) end
Duel.SetOperationInfo(0,CATEGORY_COIN,nil,0,tp,1)
......
......@@ -21,7 +21,6 @@ function c4483989.initial_effect(c)
e2:SetOperation(c4483989.atkop)
c:RegisterEffect(e2)
end
c4483989.toss_coin=true
function c4483989.atkcon(e,tp,eg,ep,ev,re,r,rp)
local at=Duel.GetAttackTarget()
return tp~=Duel.GetTurnPlayer() and at and at:IsPosition(POS_FACEUP_DEFENSE)
......
......@@ -10,7 +10,6 @@ function c50470982.initial_effect(c)
e1:SetOperation(c50470982.activate)
c:RegisterEffect(e1)
end
c50470982.toss_coin=true
function c50470982.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
Duel.SetOperationInfo(0,CATEGORY_COIN,nil,0,PLAYER_ALL,1)
......
......@@ -12,7 +12,6 @@ function c50593156.initial_effect(c)
e1:SetOperation(c50593156.desop)
c:RegisterEffect(e1)
end
c50593156.toss_coin=true
function c50593156.destg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
local g=Duel.GetMatchingGroup(aux.TRUE,tp,LOCATION_MZONE,LOCATION_MZONE,nil)
......
......@@ -28,7 +28,6 @@ function c5861892.initial_effect(c)
e3:SetOperation(c5861892.coinop)
c:RegisterEffect(e3)
end
c5861892.toss_coin=true
function c5861892.spfilter(c)
return c:IsAbleToGraveAsCost()
end
......
......@@ -27,7 +27,6 @@ function c60953118.initial_effect(c)
e4:SetCode(EVENT_FLIP_SUMMON_SUCCESS)
c:RegisterEffect(e4)
end
c60953118.toss_coin=true
function c60953118.damcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetBattleDamage(tp)>0
end
......
......@@ -17,7 +17,6 @@ function c61175706.initial_effect(c)
e3:SetCode(EVENT_FLIP_SUMMON_SUCCESS)
c:RegisterEffect(e3)
end
c61175706.toss_coin=true
function c61175706.cointg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
Duel.SetOperationInfo(0,CATEGORY_COIN,nil,0,tp,1)
......
......@@ -20,7 +20,6 @@ function c62784717.initial_effect(c)
e2:SetOperation(c62784717.coinop)
c:RegisterEffect(e2)
end
c62784717.toss_coin=true
function c62784717.coincon(e,tp,eg,ep,ev,re,r,rp)
return tp~=Duel.GetTurnPlayer()
end
......
......@@ -29,7 +29,6 @@ function c62892347.initial_effect(c)
e5:SetCode(EVENT_FLIP_SUMMON_SUCCESS)
c:RegisterEffect(e5)
end
c62892347.toss_coin=true
function c62892347.poscon(e)
return e:GetHandler():IsPosition(POS_FACEUP_ATTACK)
end
......
......@@ -12,7 +12,6 @@ function c64538655.initial_effect(c)
e1:SetOperation(c64538655.desop)
c:RegisterEffect(e1)
end
c64538655.toss_coin=true
function c64538655.descon(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetAttackTarget()~=nil
end
......
......@@ -12,7 +12,6 @@ function c67959180.initial_effect(c)
e1:SetOperation(c67959180.operation)
c:RegisterEffect(e1)
end
c67959180.toss_coin=true
function c67959180.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
Duel.SetOperationInfo(0,CATEGORY_COIN,nil,0,tp,1)
......
......@@ -28,7 +28,6 @@ function c69831560.initial_effect(c)
e3:SetOperation(c69831560.coinop)
c:RegisterEffect(e3)
end
c69831560.toss_coin=true
function c69831560.spfilter(c)
return c:IsAbleToGraveAsCost()
end
......
......@@ -18,7 +18,6 @@ function c70050374.initial_effect(c)
e3:SetCode(EVENT_SPSUMMON_SUCCESS)
c:RegisterEffect(e3)
end
c70050374.toss_coin=true
function c70050374.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsOnField() and chkc:IsControler(1-tp) end
if chk==0 then return true end
......
......@@ -12,7 +12,6 @@ function c71625222.initial_effect(c)
e1:SetOperation(c71625222.desop)
c:RegisterEffect(e1)
end
c71625222.toss_coin=true
function c71625222.destg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
local g=Duel.GetMatchingGroup(nil,tp,0,LOCATION_MZONE,nil)
......
......@@ -39,7 +39,6 @@ function c73206827.initial_effect(c)
e4:SetOperation(c73206827.recop)
c:RegisterEffect(e4)
end
c73206827.toss_coin=true
function c73206827.coincon(e,tp,eg,ep,ev,re,r,rp)
return tp==Duel.GetTurnPlayer()
end
......
......@@ -10,7 +10,6 @@ function c81172176.initial_effect(c)
e1:SetOperation(c81172176.activate)
c:RegisterEffect(e1)
end
c81172176.toss_coin=true
function c81172176.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(Card.IsAbleToRemove,tp,0,LOCATION_GRAVE,1,nil)
and Duel.GetFieldGroupCount(tp,LOCATION_DECK,0)>=Duel.GetFieldGroupCount(tp,0,LOCATION_GRAVE) end
......
......@@ -13,7 +13,6 @@ function c81480460.initial_effect(c)
e1:SetOperation(c81480460.desop)
c:RegisterEffect(e1)
end
c81480460.toss_coin=true
function c81480460.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(1-tp) end
if chk==0 then return Duel.IsExistingTarget(aux.TRUE,tp,0,LOCATION_MZONE,1,nil) end
......
......@@ -13,7 +13,6 @@ function c82642348.initial_effect(c)
e1:SetOperation(c82642348.desop)
c:RegisterEffect(e1)
end
c82642348.toss_coin=true
function c82642348.descon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsLocation(LOCATION_GRAVE) and e:GetHandler():IsReason(REASON_BATTLE)
end
......
......@@ -17,7 +17,6 @@ function c8396952.initial_effect(c)
e3:SetCode(EVENT_FLIP_SUMMON_SUCCESS)
c:RegisterEffect(e3)
end
c8396952.toss_coin=true
function c8396952.cointg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
Duel.SetOperationInfo(0,CATEGORY_COIN,nil,0,tp,1)
......
......@@ -8,7 +8,6 @@ function c84677654.initial_effect(c)
e1:SetOperation(c84677654.operation)
c:RegisterEffect(e1)
end
c84677654.toss_coin=true
function c84677654.cfilter(c)
return c:IsFaceup() and c:IsLevelAbove(0)
end
......
......@@ -18,7 +18,6 @@ function c86767655.initial_effect(c)
e1:SetOperation(c86767655.disop)
c:RegisterEffect(e1)
end
c86767655.toss_coin=true
function c86767655.discon(e,tp,eg,ep,ev,re,r,rp)
return rp==1-tp and e:GetHandler():GetFlagEffect(FLAG_ID_CHAINING)>0
end
......
......@@ -15,7 +15,6 @@ function c87751584.initial_effect(c)
e1:SetOperation(c87751584.desop)
c:RegisterEffect(e1)
end
c87751584.toss_coin=true
function c87751584.destg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(aux.TRUE,tp,LOCATION_MZONE,LOCATION_MZONE,1,nil) end
Duel.SetOperationInfo(0,CATEGORY_COIN,nil,0,tp,3)
......
......@@ -12,7 +12,6 @@ function c89718302.initial_effect(c)
e1:SetOperation(c89718302.damop)
c:RegisterEffect(e1)
end
c89718302.toss_coin=true
function c89718302.damtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
Duel.SetOperationInfo(0,CATEGORY_COIN,nil,0,tp,1)
......
......@@ -11,7 +11,6 @@ function c94773007.initial_effect(c)
e1:SetOperation(c94773007.atop)
c:RegisterEffect(e1)
end
c94773007.toss_coin=true
function c94773007.attg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
Duel.SetOperationInfo(0,CATEGORY_COIN,nil,0,tp,1)
......
......@@ -17,7 +17,6 @@ function c97452817.initial_effect(c)
e3:SetCode(EVENT_FLIP_SUMMON_SUCCESS)
c:RegisterEffect(e3)
end
c97452817.toss_coin=true
function c97452817.cointg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
Duel.SetOperationInfo(0,CATEGORY_COIN,nil,0,tp,1)
......
......@@ -17,7 +17,6 @@ function c97574404.initial_effect(c)
e3:SetCode(EVENT_FLIP_SUMMON_SUCCESS)
c:RegisterEffect(e3)
end
c97574404.toss_coin=true
function c97574404.cointg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
Duel.SetOperationInfo(0,CATEGORY_COIN,nil,0,tp,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