Commit c4e496ad authored by salix5's avatar salix5

remove s.toss_coin

parent 434305a1
...@@ -24,7 +24,6 @@ function c11819473.initial_effect(c) ...@@ -24,7 +24,6 @@ function c11819473.initial_effect(c)
e2:SetOperation(c11819473.sumop) e2:SetOperation(c11819473.sumop)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
c11819473.toss_coin=true
function c11819473.thfilter1(c) function c11819473.thfilter1(c)
return not c:IsCode(11819473) and c:IsEffectProperty(aux.EffectCategoryFilter(CATEGORY_COIN)) and c:IsAbleToHand() return not c:IsCode(11819473) and c:IsEffectProperty(aux.EffectCategoryFilter(CATEGORY_COIN)) and c:IsAbleToHand()
end end
......
...@@ -36,7 +36,6 @@ function c15130912.initial_effect(c) ...@@ -36,7 +36,6 @@ function c15130912.initial_effect(c)
e3:SetOperation(c15130912.coinop2) e3:SetOperation(c15130912.coinop2)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
c15130912.toss_coin=true
function c15130912.sptg(e,tp,eg,ep,ev,re,r,rp,chk) function c15130912.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler() local c=e:GetHandler()
local zone=1<<c:GetSequence() local zone=1<<c:GetSequence()
......
...@@ -24,7 +24,6 @@ function s.initial_effect(c) ...@@ -24,7 +24,6 @@ function s.initial_effect(c)
e2:SetOperation(s.drop) e2:SetOperation(s.drop)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
s.toss_coin=true
function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk) function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler() local c=e:GetHandler()
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and c:IsCanBeSpecialSummoned(e,0,tp,false,false) if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
......
...@@ -24,7 +24,6 @@ function c26273196.initial_effect(c) ...@@ -24,7 +24,6 @@ function c26273196.initial_effect(c)
e2:SetOperation(c26273196.matop) e2:SetOperation(c26273196.matop)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
c26273196.toss_coin=true
function c26273196.matcon(e,tp,eg,ep,ev,re,r,rp) function c26273196.matcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsSummonType(SUMMON_TYPE_FUSION) return e:GetHandler():IsSummonType(SUMMON_TYPE_FUSION)
end end
......
...@@ -26,7 +26,6 @@ function c38143903.initial_effect(c) ...@@ -26,7 +26,6 @@ function c38143903.initial_effect(c)
e2:SetRange(LOCATION_SZONE) e2:SetRange(LOCATION_SZONE)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
c38143903.toss_coin=true
function c38143903.negcon(e,tp,eg,ep,ev,re,r,rp) function c38143903.negcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetChainInfo(ev,CHAININFO_TRIGGERING_LOCATION)==LOCATION_MZONE and re:IsActiveType(TYPE_MONSTER) return Duel.GetChainInfo(ev,CHAININFO_TRIGGERING_LOCATION)==LOCATION_MZONE and re:IsActiveType(TYPE_MONSTER)
and Duel.IsChainNegatable(ev) and Duel.IsChainNegatable(ev)
......
...@@ -29,7 +29,6 @@ function s.initial_effect(c) ...@@ -29,7 +29,6 @@ function s.initial_effect(c)
e4:SetCode(EVENT_FLIP_SUMMON_SUCCESS) e4:SetCode(EVENT_FLIP_SUMMON_SUCCESS)
c:RegisterEffect(e4) c:RegisterEffect(e4)
end end
s.toss_coin=true
function s.thcost(e,tp,eg,ep,ev,re,r,rp,chk) function s.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler() local c=e:GetHandler()
if chk==0 then return c:IsDiscardable() end if chk==0 then return c:IsDiscardable() end
......
...@@ -45,7 +45,6 @@ function c62528292.target(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -45,7 +45,6 @@ function c62528292.target(e,tp,eg,ep,ev,re,r,rp,chk)
c:SetTurnCounter(0) c:SetTurnCounter(0)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
c62528292.toss_coin=true
function c62528292.stgcon(e,tp,eg,ep,ev,re,r,rp) function c62528292.stgcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetTurnPlayer()==tp return Duel.GetTurnPlayer()==tp
end end
......
...@@ -37,7 +37,6 @@ function c76728962.initial_effect(c) ...@@ -37,7 +37,6 @@ function c76728962.initial_effect(c)
e3:SetOperation(c76728962.thop) e3:SetOperation(c76728962.thop)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
c76728962.toss_coin=true
function c76728962.filter(c,tp) function c76728962.filter(c,tp)
return c:IsReason(REASON_BATTLE+REASON_EFFECT) and bit.band(c:GetPreviousRaceOnField(),RACE_MACHINE)~=0 return c:IsReason(REASON_BATTLE+REASON_EFFECT) and bit.band(c:GetPreviousRaceOnField(),RACE_MACHINE)~=0
and bit.band(c:GetPreviousAttributeOnField(),ATTRIBUTE_DARK)~=0 and c:IsPreviousControler(tp) and bit.band(c:GetPreviousAttributeOnField(),ATTRIBUTE_DARK)~=0 and c:IsPreviousControler(tp)
......
...@@ -40,7 +40,6 @@ function s.initial_effect(c) ...@@ -40,7 +40,6 @@ function s.initial_effect(c)
e4:SetOperation(s.countop) e4:SetOperation(s.countop)
c:RegisterEffect(e4) c:RegisterEffect(e4)
end end
s.toss_coin=true
function s.drtg(e,tp,eg,ep,ev,re,r,rp,chk) function s.drtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsPlayerCanDraw(tp) end if chk==0 then return Duel.IsPlayerCanDraw(tp) end
Duel.SetOperationInfo(0,CATEGORY_COIN,nil,0,tp,0) Duel.SetOperationInfo(0,CATEGORY_COIN,nil,0,tp,0)
......
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