Commit 4939bf4a authored by salix5's avatar salix5

Revert "add c.toss_dice"

This reverts commit 8fb7f95a.
parent 79835a47
...@@ -19,7 +19,6 @@ function c10960419.initial_effect(c) ...@@ -19,7 +19,6 @@ function c10960419.initial_effect(c)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
c10960419.material_race=RACE_SPELLCASTER c10960419.material_race=RACE_SPELLCASTER
c10960419.toss_dice=true
function c10960419.eqtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c10960419.eqtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsFaceup() and chkc~=e:GetHandler() end if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsFaceup() and chkc~=e:GetHandler() end
if chk==0 then return true end if chk==0 then return true end
......
...@@ -13,7 +13,6 @@ function c126218.initial_effect(c) ...@@ -13,7 +13,6 @@ function c126218.initial_effect(c)
e1:SetOperation(c126218.activate) e1:SetOperation(c126218.activate)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
c126218.toss_dice=true
function c126218.target(e,tp,eg,ep,ev,re,r,rp,chk) function c126218.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(Card.IsFaceup,tp,0,LOCATION_MZONE,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(Card.IsFaceup,tp,0,LOCATION_MZONE,1,nil) end
Duel.SetOperationInfo(0,CATEGORY_DICE,nil,0,tp,1) Duel.SetOperationInfo(0,CATEGORY_DICE,nil,0,tp,1)
......
...@@ -35,7 +35,6 @@ function c15521027.initial_effect(c) ...@@ -35,7 +35,6 @@ function c15521027.initial_effect(c)
e3:SetOperation(c15521027.opd) e3:SetOperation(c15521027.opd)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
c15521027.toss_dice=true
function c15521027.spfilter(c) function c15521027.spfilter(c)
return c:IsSetCard(0x26) and c:IsType(TYPE_MONSTER) and c:IsAbleToRemoveAsCost() return c:IsSetCard(0x26) and c:IsType(TYPE_MONSTER) and c:IsAbleToRemoveAsCost()
end end
......
...@@ -12,7 +12,6 @@ function c15744417.initial_effect(c) ...@@ -12,7 +12,6 @@ function c15744417.initial_effect(c)
e1:SetOperation(c15744417.operation) e1:SetOperation(c15744417.operation)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
c15744417.toss_dice=true
function c15744417.target(e,tp,eg,ep,ev,re,r,rp,chk) function c15744417.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end if chk==0 then return true end
Duel.SetOperationInfo(0,CATEGORY_DICE,nil,0,tp,3) Duel.SetOperationInfo(0,CATEGORY_DICE,nil,0,tp,3)
......
...@@ -12,7 +12,6 @@ function c16135253.initial_effect(c) ...@@ -12,7 +12,6 @@ function c16135253.initial_effect(c)
e1:SetOperation(c16135253.operation) e1:SetOperation(c16135253.operation)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
c16135253.toss_dice=true
function c16135253.condition(e,tp,eg,ep,ev,re,r,rp) function c16135253.condition(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsLocation(LOCATION_GRAVE) and e:GetHandler():IsReason(REASON_BATTLE) return e:GetHandler():IsLocation(LOCATION_GRAVE) and e:GetHandler():IsReason(REASON_BATTLE)
end end
......
...@@ -12,7 +12,6 @@ function c17530001.initial_effect(c) ...@@ -12,7 +12,6 @@ function c17530001.initial_effect(c)
e1:SetOperation(c17530001.operation) e1:SetOperation(c17530001.operation)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
c17530001.toss_dice=true
function c17530001.target(e,tp,eg,ep,ev,re,r,rp,chk) function c17530001.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end if chk==0 then return true end
Duel.SetOperationInfo(0,CATEGORY_DICE,nil,0,tp,1) Duel.SetOperationInfo(0,CATEGORY_DICE,nil,0,tp,1)
......
...@@ -11,7 +11,6 @@ function c22802010.initial_effect(c) ...@@ -11,7 +11,6 @@ function c22802010.initial_effect(c)
e1:SetOperation(c22802010.activate) e1:SetOperation(c22802010.activate)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
c22802010.toss_dice=true
function c22802010.filter(c,lv) function c22802010.filter(c,lv)
return c:IsFaceup() and (c:IsLevelBelow(lv) or c:IsRankBelow(lv)) return c:IsFaceup() and (c:IsLevelBelow(lv) or c:IsRankBelow(lv))
end end
......
...@@ -12,7 +12,6 @@ function c30707994.initial_effect(c) ...@@ -12,7 +12,6 @@ function c30707994.initial_effect(c)
e1:SetOperation(c30707994.operation) e1:SetOperation(c30707994.operation)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
c30707994.toss_dice=true
function c30707994.condition(e,tp,eg,ep,ev,re,r,rp) function c30707994.condition(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsSummonType(SUMMON_TYPE_ADVANCE) return e:GetHandler():IsSummonType(SUMMON_TYPE_ADVANCE)
end end
......
...@@ -20,7 +20,6 @@ function c31863912.initial_effect(c) ...@@ -20,7 +20,6 @@ function c31863912.initial_effect(c)
e2:SetLabel(1) e2:SetLabel(1)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
c31863912.toss_dice=true
function c31863912.cfilter(c,sp) function c31863912.cfilter(c,sp)
return c:IsFaceup() and c:IsSummonPlayer(sp) return c:IsFaceup() and c:IsSummonPlayer(sp)
end end
......
...@@ -20,7 +20,6 @@ function c32015116.initial_effect(c) ...@@ -20,7 +20,6 @@ function c32015116.initial_effect(c)
e2:SetOperation(c32015116.rdop) e2:SetOperation(c32015116.rdop)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
c32015116.toss_dice=true
function c32015116.rdcon(e,tp,eg,ep,ev,re,r,rp) function c32015116.rdcon(e,tp,eg,ep,ev,re,r,rp)
return tp==Duel.GetTurnPlayer() return tp==Duel.GetTurnPlayer()
end end
......
...@@ -10,7 +10,6 @@ function c3280747.initial_effect(c) ...@@ -10,7 +10,6 @@ function c3280747.initial_effect(c)
e1:SetOperation(c3280747.activate) e1:SetOperation(c3280747.activate)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
c3280747.toss_dice=true
function c3280747.target(e,tp,eg,ep,ev,re,r,rp,chk) function c3280747.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetFieldGroupCount(tp,LOCATION_DECK,0)>=6 end if chk==0 then return Duel.GetFieldGroupCount(tp,LOCATION_DECK,0)>=6 end
Duel.SetOperationInfo(0,CATEGORY_DICE,nil,0,tp,2) Duel.SetOperationInfo(0,CATEGORY_DICE,nil,0,tp,2)
......
...@@ -11,7 +11,6 @@ function c3493058.initial_effect(c) ...@@ -11,7 +11,6 @@ function c3493058.initial_effect(c)
e1:SetOperation(c3493058.activate) e1:SetOperation(c3493058.activate)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
c3493058.toss_dice=true
function c3493058.filter(c) function c3493058.filter(c)
return c:IsType(TYPE_SPELL+TYPE_TRAP) return c:IsType(TYPE_SPELL+TYPE_TRAP)
end end
......
...@@ -9,7 +9,6 @@ function c3549275.initial_effect(c) ...@@ -9,7 +9,6 @@ function c3549275.initial_effect(c)
e1:SetOperation(c3549275.operation) e1:SetOperation(c3549275.operation)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
c3549275.toss_dice=true
function c3549275.target(e,tp,eg,ep,ev,re,r,rp,chk) function c3549275.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end if chk==0 then return true end
Duel.SetOperationInfo(0,CATEGORY_DICE,nil,0,PLAYER_ALL,1) Duel.SetOperationInfo(0,CATEGORY_DICE,nil,0,PLAYER_ALL,1)
......
...@@ -40,7 +40,6 @@ function c35606858.initial_effect(c) ...@@ -40,7 +40,6 @@ function c35606858.initial_effect(c)
e3:SetOperation(c35606858.dcop) e3:SetOperation(c35606858.dcop)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
c35606858.toss_dice=true
function c35606858.mtcon(e,tp,eg,ep,ev,re,r,rp) function c35606858.mtcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetTurnPlayer()==tp return Duel.GetTurnPlayer()==tp
end end
......
...@@ -26,7 +26,6 @@ function c35772782.initial_effect(c) ...@@ -26,7 +26,6 @@ function c35772782.initial_effect(c)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
aux.xyz_number[35772782]=67 aux.xyz_number[35772782]=67
c35772782.toss_dice=true
function c35772782.dccon(e,tp,eg,ep,ev,re,r,rp) function c35772782.dccon(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetCurrentPhase()==PHASE_MAIN1 return Duel.GetCurrentPhase()==PHASE_MAIN1
end end
......
...@@ -19,7 +19,6 @@ function c35798491.initial_effect(c) ...@@ -19,7 +19,6 @@ function c35798491.initial_effect(c)
e2:SetOperation(c35798491.disop) e2:SetOperation(c35798491.disop)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
c35798491.toss_dice=true
function c35798491.mtcon(e,tp,eg,ep,ev,re,r,rp) function c35798491.mtcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetTurnPlayer()==tp return Duel.GetTurnPlayer()==tp
end end
......
...@@ -35,7 +35,6 @@ function c35975813.initial_effect(c) ...@@ -35,7 +35,6 @@ function c35975813.initial_effect(c)
e5:SetOperation(c35975813.disop2) e5:SetOperation(c35975813.disop2)
c:RegisterEffect(e5) c:RegisterEffect(e5)
end end
c35975813.toss_dice=true
function c35975813.exfilter(c) function c35975813.exfilter(c)
return c:IsFaceup() and c:IsSetCard(0x45) return c:IsFaceup() and c:IsSetCard(0x45)
end end
......
...@@ -11,7 +11,6 @@ function c36708764.initial_effect(c) ...@@ -11,7 +11,6 @@ function c36708764.initial_effect(c)
e1:SetOperation(c36708764.activate) e1:SetOperation(c36708764.activate)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
c36708764.toss_dice=true
function c36708764.condition(e,tp,eg,ep,ev,re,r,rp) function c36708764.condition(e,tp,eg,ep,ev,re,r,rp)
return ep~=tp return ep~=tp
end end
......
...@@ -20,7 +20,6 @@ function c38299233.initial_effect(c) ...@@ -20,7 +20,6 @@ function c38299233.initial_effect(c)
e2:SetOperation(c38299233.rdop) e2:SetOperation(c38299233.rdop)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
c38299233.toss_dice=true
function c38299233.rdcon(e,tp,eg,ep,ev,re,r,rp) function c38299233.rdcon(e,tp,eg,ep,ev,re,r,rp)
return tp==Duel.GetTurnPlayer() return tp==Duel.GetTurnPlayer()
end end
......
...@@ -12,7 +12,6 @@ function c41139112.initial_effect(c) ...@@ -12,7 +12,6 @@ function c41139112.initial_effect(c)
e1:SetOperation(c41139112.activate) e1:SetOperation(c41139112.activate)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
c41139112.toss_dice=true
function c41139112.cost(e,tp,eg,ep,ev,re,r,rp,chk) function c41139112.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckLPCost(tp,1000) end if chk==0 then return Duel.CheckLPCost(tp,1000) end
Duel.PayLPCost(tp,1000) Duel.PayLPCost(tp,1000)
......
...@@ -22,7 +22,6 @@ function c42421606.initial_effect(c) ...@@ -22,7 +22,6 @@ function c42421606.initial_effect(c)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
aux.xyz_number[42421606]=85 aux.xyz_number[42421606]=85
c42421606.toss_dice=true
function c42421606.efcost(e,tp,eg,ep,ev,re,r,rp,chk) function c42421606.efcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():CheckRemoveOverlayCard(tp,1,REASON_COST) end if chk==0 then return e:GetHandler():CheckRemoveOverlayCard(tp,1,REASON_COST) end
e:GetHandler():RemoveOverlayCard(tp,1,1,REASON_COST) e:GetHandler():RemoveOverlayCard(tp,1,1,REASON_COST)
......
...@@ -12,7 +12,6 @@ function c43061293.initial_effect(c) ...@@ -12,7 +12,6 @@ function c43061293.initial_effect(c)
e1:SetOperation(c43061293.damop) e1:SetOperation(c43061293.damop)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
c43061293.toss_dice=true
function c43061293.damcon(e,tp,eg,ep,ev,re,r,rp) function c43061293.damcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetFieldGroupCount(tp,LOCATION_HAND,0)==0 return Duel.GetFieldGroupCount(tp,LOCATION_HAND,0)==0
end end
......
...@@ -12,7 +12,6 @@ function c46303688.initial_effect(c) ...@@ -12,7 +12,6 @@ function c46303688.initial_effect(c)
e1:SetOperation(c46303688.activate) e1:SetOperation(c46303688.activate)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
c46303688.toss_dice=true
function c46303688.target(e,tp,eg,ep,ev,re,r,rp,chk) function c46303688.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end if chk==0 then return true end
Duel.SetOperationInfo(0,CATEGORY_DICE,nil,0,tp,2) Duel.SetOperationInfo(0,CATEGORY_DICE,nil,0,tp,2)
......
...@@ -14,8 +14,6 @@ function c47558785.initial_effect(c) ...@@ -14,8 +14,6 @@ function c47558785.initial_effect(c)
e1:SetOperation(c47558785.scop) e1:SetOperation(c47558785.scop)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
c47558785.toss_dice=true
c47558785.toss_dice_in_pendulum_only=true
function c47558785.sctg(e,tp,eg,ep,ev,re,r,rp,chk) function c47558785.sctg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():GetLeftScale()>1 end if chk==0 then return e:GetHandler():GetLeftScale()>1 end
Duel.SetOperationInfo(0,CATEGORY_DICE,nil,0,tp,1) Duel.SetOperationInfo(0,CATEGORY_DICE,nil,0,tp,1)
......
...@@ -29,7 +29,6 @@ function c5641251.initial_effect(c) ...@@ -29,7 +29,6 @@ function c5641251.initial_effect(c)
e3:SetOperation(c5641251.lvlop) e3:SetOperation(c5641251.lvlop)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
c5641251.toss_dice=true
function c5641251.spcon(e,tp,eg,ep,ev,re,r,rp) function c5641251.spcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetAttacker():IsControler(1-tp) and Duel.GetAttackTarget()==nil return Duel.GetAttacker():IsControler(1-tp) and Duel.GetAttackTarget()==nil
end end
......
...@@ -19,7 +19,6 @@ function c61370518.initial_effect(c) ...@@ -19,7 +19,6 @@ function c61370518.initial_effect(c)
e2:SetOperation(c61370518.disop) e2:SetOperation(c61370518.disop)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
c61370518.toss_dice=true
function c61370518.mtcon(e,tp,eg,ep,ev,re,r,rp) function c61370518.mtcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetTurnPlayer()==tp return Duel.GetTurnPlayer()==tp
end end
......
...@@ -11,7 +11,6 @@ function c62893810.initial_effect(c) ...@@ -11,7 +11,6 @@ function c62893810.initial_effect(c)
e1:SetOperation(c62893810.operation) e1:SetOperation(c62893810.operation)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
c62893810.toss_dice=true
function c62893810.target(e,tp,eg,ep,ev,re,r,rp,chk) function c62893810.target(e,tp,eg,ep,ev,re,r,rp,chk)
local g1=Duel.GetFieldGroup(tp,LOCATION_HAND,LOCATION_HAND) local g1=Duel.GetFieldGroup(tp,LOCATION_HAND,LOCATION_HAND)
if chk==0 then return g1:GetCount()~=0 end if chk==0 then return g1:GetCount()~=0 end
......
...@@ -22,7 +22,6 @@ function c69170403.initial_effect(c) ...@@ -22,7 +22,6 @@ function c69170403.initial_effect(c)
e2:SetOperation(c69170403.dcop) e2:SetOperation(c69170403.dcop)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
c69170403.toss_dice=true
function c69170403.spfilter(c,e,tp) function c69170403.spfilter(c,e,tp)
return c:IsLevelBelow(4) and c:IsCanBeSpecialSummoned(e,0,tp,false,false,POS_FACEUP_DEFENSE) return c:IsLevelBelow(4) and c:IsCanBeSpecialSummoned(e,0,tp,false,false,POS_FACEUP_DEFENSE)
end end
......
...@@ -31,7 +31,6 @@ function c72192100.initial_effect(c) ...@@ -31,7 +31,6 @@ function c72192100.initial_effect(c)
e3:SetOperation(c72192100.spop) e3:SetOperation(c72192100.spop)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
c72192100.toss_dice=true
function c72192100.mtcon(e,tp,eg,ep,ev,re,r,rp) function c72192100.mtcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetTurnPlayer()==tp return Duel.GetTurnPlayer()==tp
end end
......
...@@ -27,7 +27,6 @@ function c73219648.initial_effect(c) ...@@ -27,7 +27,6 @@ function c73219648.initial_effect(c)
e3:SetValue(c73219648.atktg) e3:SetValue(c73219648.atktg)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
c73219648.toss_dice=true
function c73219648.mtcon(e,tp,eg,ep,ev,re,r,rp) function c73219648.mtcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetTurnPlayer()==tp return Duel.GetTurnPlayer()==tp
end end
......
...@@ -13,7 +13,6 @@ function c74137509.initial_effect(c) ...@@ -13,7 +13,6 @@ function c74137509.initial_effect(c)
e1:SetOperation(c74137509.activate) e1:SetOperation(c74137509.activate)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
c74137509.toss_dice=true
function c74137509.target(e,tp,eg,ep,ev,re,r,rp,chk) function c74137509.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(Card.IsFaceup,tp,LOCATION_MZONE,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(Card.IsFaceup,tp,LOCATION_MZONE,0,1,nil) end
Duel.SetOperationInfo(0,CATEGORY_DICE,nil,0,tp,1) Duel.SetOperationInfo(0,CATEGORY_DICE,nil,0,tp,1)
......
...@@ -19,7 +19,6 @@ function c76895648.initial_effect(c) ...@@ -19,7 +19,6 @@ function c76895648.initial_effect(c)
e2:SetOperation(c76895648.operation) e2:SetOperation(c76895648.operation)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
c76895648.toss_dice=true
function c76895648.condition(e,tp,eg,ep,ev,re,r,rp) function c76895648.condition(e,tp,eg,ep,ev,re,r,rp)
return tp==Duel.GetTurnPlayer() return tp==Duel.GetTurnPlayer()
end end
......
...@@ -14,8 +14,6 @@ function c77994337.initial_effect(c) ...@@ -14,8 +14,6 @@ function c77994337.initial_effect(c)
e1:SetOperation(c77994337.lvop) e1:SetOperation(c77994337.lvop)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
c77994337.toss_dice=true
c77994337.toss_dice_in_pendulum_only=true
function c77994337.lvfilter(c) function c77994337.lvfilter(c)
return c:IsFaceup() and c:GetLevel()>0 return c:IsFaceup() and c:GetLevel()>0
end end
......
...@@ -16,7 +16,6 @@ function c82308875.initial_effect(c) ...@@ -16,7 +16,6 @@ function c82308875.initial_effect(c)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
aux.xyz_number[82308875]=7 aux.xyz_number[82308875]=7
c82308875.toss_dice=true
function c82308875.cost(e,tp,eg,ep,ev,re,r,rp,chk) function c82308875.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():CheckRemoveOverlayCard(tp,1,REASON_COST) end if chk==0 then return e:GetHandler():CheckRemoveOverlayCard(tp,1,REASON_COST) end
e:GetHandler():RemoveOverlayCard(tp,1,1,REASON_COST) e:GetHandler():RemoveOverlayCard(tp,1,1,REASON_COST)
......
...@@ -8,7 +8,6 @@ function c83241722.initial_effect(c) ...@@ -8,7 +8,6 @@ function c83241722.initial_effect(c)
e1:SetOperation(c83241722.regop) e1:SetOperation(c83241722.regop)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
c83241722.toss_dice=true
function c83241722.regop(e,tp,eg,ep,ev,re,r,rp) function c83241722.regop(e,tp,eg,ep,ev,re,r,rp)
local e1=Effect.CreateEffect(e:GetHandler()) local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
......
...@@ -14,8 +14,6 @@ function c84046493.initial_effect(c) ...@@ -14,8 +14,6 @@ function c84046493.initial_effect(c)
e1:SetOperation(c84046493.scop) e1:SetOperation(c84046493.scop)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
c84046493.toss_dice=true
c84046493.toss_dice_in_pendulum_only=true
function c84046493.sctg(e,tp,eg,ep,ev,re,r,rp,chk) function c84046493.sctg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():GetLeftScale()<10 end if chk==0 then return e:GetHandler():GetLeftScale()<10 end
Duel.SetOperationInfo(0,CATEGORY_DICE,nil,0,tp,1) Duel.SetOperationInfo(0,CATEGORY_DICE,nil,0,tp,1)
......
...@@ -13,7 +13,6 @@ function c84290642.initial_effect(c) ...@@ -13,7 +13,6 @@ function c84290642.initial_effect(c)
e1:SetOperation(c84290642.activate) e1:SetOperation(c84290642.activate)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
c84290642.toss_dice=true
function c84290642.cost(e,tp,eg,ep,ev,re,r,rp,chk) function c84290642.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(Card.IsDiscardable,tp,LOCATION_HAND,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(Card.IsDiscardable,tp,LOCATION_HAND,0,1,nil) end
Duel.DiscardHand(tp,Card.IsDiscardable,1,1,REASON_COST+REASON_DISCARD) Duel.DiscardHand(tp,Card.IsDiscardable,1,1,REASON_COST+REASON_DISCARD)
......
...@@ -9,7 +9,6 @@ function c84397023.initial_effect(c) ...@@ -9,7 +9,6 @@ function c84397023.initial_effect(c)
e1:SetOperation(c84397023.op) e1:SetOperation(c84397023.op)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
c84397023.toss_dice=true
function c84397023.tg(e,tp,eg,ep,ev,re,r,rp,chk) function c84397023.tg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(Card.IsType,tp,LOCATION_HAND,0,1,nil,TYPE_MONSTER) end if chk==0 then return Duel.IsExistingMatchingCard(Card.IsType,tp,LOCATION_HAND,0,1,nil,TYPE_MONSTER) end
end end
......
...@@ -22,7 +22,6 @@ function c85704698.initial_effect(c) ...@@ -22,7 +22,6 @@ function c85704698.initial_effect(c)
e2:SetOperation(c85704698.synop) e2:SetOperation(c85704698.synop)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
c85704698.toss_dice=true
function c85704698.filter(c,e,tp) function c85704698.filter(c,e,tp)
return c:IsSetCard(0x2016) and c:IsType(TYPE_TUNER) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) return c:IsSetCard(0x2016) and c:IsType(TYPE_TUNER) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end end
......
...@@ -30,7 +30,6 @@ function c8581705.initial_effect(c) ...@@ -30,7 +30,6 @@ function c8581705.initial_effect(c)
e3:SetOperation(c8581705.atkop) e3:SetOperation(c8581705.atkop)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
c8581705.toss_dice=true
function c8581705.mtcon(e,tp,eg,ep,ev,re,r,rp) function c8581705.mtcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetTurnPlayer()==tp return Duel.GetTurnPlayer()==tp
end end
......
...@@ -11,7 +11,6 @@ function c8868767.initial_effect(c) ...@@ -11,7 +11,6 @@ function c8868767.initial_effect(c)
e1:SetOperation(c8868767.activate) e1:SetOperation(c8868767.activate)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
c8868767.toss_dice=true
function c8868767.target(e,tp,eg,ep,ev,re,r,rp,chk) function c8868767.target(e,tp,eg,ep,ev,re,r,rp,chk)
if Duel.GetTurnPlayer()==tp then if Duel.GetTurnPlayer()==tp then
if chk==0 then return Duel.IsExistingMatchingCard(Card.IsAbleToRemove,tp,LOCATION_GRAVE,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(Card.IsAbleToRemove,tp,LOCATION_GRAVE,0,1,nil) end
......
...@@ -23,7 +23,6 @@ function c93542102.initial_effect(c) ...@@ -23,7 +23,6 @@ function c93542102.initial_effect(c)
e2:SetOperation(c93542102.opd) e2:SetOperation(c93542102.opd)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
c93542102.toss_dice=true
function c93542102.cona(e,tp,eg,ep,ev,re,r,rp) function c93542102.cona(e,tp,eg,ep,ev,re,r,rp)
return not e:GetHandler():IsDisabled() and e:GetHandler():IsAttackPos() return not e:GetHandler():IsDisabled() and e:GetHandler():IsAttackPos()
end end
......
...@@ -18,7 +18,6 @@ function c96015976.initial_effect(c) ...@@ -18,7 +18,6 @@ function c96015976.initial_effect(c)
e2:SetOperation(c96015976.operation) e2:SetOperation(c96015976.operation)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
c96015976.toss_dice=true
function c96015976.filter(c) function c96015976.filter(c)
local lv=c:GetLevel() local lv=c:GetLevel()
local olv=c:GetOriginalLevel() local olv=c:GetOriginalLevel()
......
...@@ -25,7 +25,6 @@ function c9603356.initial_effect(c) ...@@ -25,7 +25,6 @@ function c9603356.initial_effect(c)
e3:SetValue(aux.ChangeBattleDamage(1,HALF_DAMAGE)) e3:SetValue(aux.ChangeBattleDamage(1,HALF_DAMAGE))
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
c9603356.toss_dice=true
function c9603356.mtcon(e,tp,eg,ep,ev,re,r,rp) function c9603356.mtcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetTurnPlayer()==tp return Duel.GetTurnPlayer()==tp
end end
......
...@@ -13,7 +13,6 @@ function c97642679.initial_effect(c) ...@@ -13,7 +13,6 @@ function c97642679.initial_effect(c)
e1:SetOperation(c97642679.operation) e1:SetOperation(c97642679.operation)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
c97642679.toss_dice=true
function c97642679.target(e,tp,eg,ep,ev,re,r,rp,chk) function c97642679.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end if chk==0 then return true end
Duel.SetOperationInfo(0,CATEGORY_DICE,nil,0,tp,1) Duel.SetOperationInfo(0,CATEGORY_DICE,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