Commit 13bb48af authored by VanillaSalt's avatar VanillaSalt

update

parent 4ce56af9
...@@ -19,6 +19,7 @@ function c12694768.target(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -19,6 +19,7 @@ function c12694768.target(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SetOperationInfo(0,CATEGORY_DAMAGE,nil,0,PLAYER_ALL,500) Duel.SetOperationInfo(0,CATEGORY_DAMAGE,nil,0,PLAYER_ALL,500)
end end
function c12694768.operation(e,tp,eg,ep,ev,re,r,rp) function c12694768.operation(e,tp,eg,ep,ev,re,r,rp)
Duel.Damage(tp,500,REASON_EFFECT) Duel.Damage(tp,500,REASON_EFFECT,true)
Duel.Damage(1-tp,500,REASON_EFFECT) Duel.Damage(1-tp,500,REASON_EFFECT,true)
Duel.RDComplete()
end end
...@@ -35,7 +35,8 @@ function c18271561.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -35,7 +35,8 @@ function c18271561.operation(e,tp,eg,ep,ev,re,r,rp)
end end
local atk=dg:GetFirst():GetAttack()/2 local atk=dg:GetFirst():GetAttack()/2
if Duel.Destroy(dg,REASON_EFFECT)>0 then if Duel.Destroy(dg,REASON_EFFECT)>0 then
Duel.Damage(tp,atk,REASON_EFFECT) Duel.Damage(tp,atk,REASON_EFFECT,true)
Duel.Damage(1-tp,atk,REASON_EFFECT) Duel.Damage(1-tp,atk,REASON_EFFECT,true)
Duel.RDComplete()
end end
end end
...@@ -58,6 +58,7 @@ function c20686759.damtg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -58,6 +58,7 @@ function c20686759.damtg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SetOperationInfo(0,CATEGORY_DAMAGE,nil,0,PLAYER_ALL,dam) Duel.SetOperationInfo(0,CATEGORY_DAMAGE,nil,0,PLAYER_ALL,dam)
end end
function c20686759.damop(e,tp,eg,ep,ev,re,r,rp) function c20686759.damop(e,tp,eg,ep,ev,re,r,rp)
Duel.Damage(1-tp,e:GetLabel(),REASON_EFFECT) Duel.Damage(1-tp,e:GetLabel(),REASON_EFFECT,true)
Duel.Damage(tp,e:GetLabel(),REASON_EFFECT) Duel.Damage(tp,e:GetLabel(),REASON_EFFECT,true)
Duel.RDComplete()
end end
...@@ -25,8 +25,9 @@ function c20985997.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -25,8 +25,9 @@ function c20985997.activate(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
if tc:GetCounter(0x100e)>0 and tc:IsRelateToEffect(e) then if tc:GetCounter(0x100e)>0 and tc:IsRelateToEffect(e) then
if Duel.Destroy(tc,REASON_EFFECT)>0 then if Duel.Destroy(tc,REASON_EFFECT)>0 then
Duel.Damage(1-tp,1000,REASON_EFFECT) Duel.Damage(1-tp,1000,REASON_EFFECT,true)
Duel.Damage(tp,1000,REASON_EFFECT) Duel.Damage(tp,1000,REASON_EFFECT,true)
Duel.RDComplete()
end end
end end
end end
...@@ -25,8 +25,9 @@ function c21219755.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -25,8 +25,9 @@ function c21219755.activate(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
if tc:IsFaceup() and tc:IsRelateToEffect(e) then if tc:IsFaceup() and tc:IsRelateToEffect(e) then
if Duel.Destroy(tc,REASON_EFFECT)>0 then if Duel.Destroy(tc,REASON_EFFECT)>0 then
Duel.Damage(1-tp,1000,REASON_EFFECT) Duel.Damage(1-tp,1000,REASON_EFFECT,true)
Duel.Damage(tp,1000,REASON_EFFECT) Duel.Damage(tp,1000,REASON_EFFECT,true)
Duel.RDComplete()
end end
end end
end end
...@@ -96,6 +96,7 @@ function c30270176.damtg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -96,6 +96,7 @@ function c30270176.damtg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SetOperationInfo(0,CATEGORY_DAMAGE,nil,0,PLAYER_ALL,3000) Duel.SetOperationInfo(0,CATEGORY_DAMAGE,nil,0,PLAYER_ALL,3000)
end end
function c30270176.damop(e,tp,eg,ep,ev,re,r,rp) function c30270176.damop(e,tp,eg,ep,ev,re,r,rp)
Duel.Damage(tp,3000,REASON_EFFECT) Duel.Damage(tp,3000,REASON_EFFECT,true)
Duel.Damage(1-tp,3000,REASON_EFFECT) Duel.Damage(1-tp,3000,REASON_EFFECT,true)
Duel.RDComplete()
end end
...@@ -85,7 +85,8 @@ function c3064425.negop(e,tp,eg,ep,ev,re,r,rp) ...@@ -85,7 +85,8 @@ function c3064425.negop(e,tp,eg,ep,ev,re,r,rp)
Duel.BreakEffect() Duel.BreakEffect()
local g=Duel.GetMatchingGroup(Card.IsDestructable,tp,LOCATION_MZONE,LOCATION_MZONE,nil) local g=Duel.GetMatchingGroup(Card.IsDestructable,tp,LOCATION_MZONE,LOCATION_MZONE,nil)
if Duel.Destroy(g,REASON_EFFECT)==0 then return end if Duel.Destroy(g,REASON_EFFECT)==0 then return end
Duel.Damage(tp,1000,REASON_EFFECT) Duel.Damage(tp,1000,REASON_EFFECT,true)
Duel.Damage(1-tp,1000,REASON_EFFECT) Duel.Damage(1-tp,1000,REASON_EFFECT,true)
Duel.RDComplete()
end end
end end
...@@ -15,14 +15,14 @@ function c32835363.initial_effect(c) ...@@ -15,14 +15,14 @@ function c32835363.initial_effect(c)
e2:SetOperation(c32835363.regop) e2:SetOperation(c32835363.regop)
c:RegisterEffect(e2) c:RegisterEffect(e2)
-- --
local e2=Effect.CreateEffect(c) local e3=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(32835363,0)) e3:SetDescription(aux.Stringid(32835363,0))
e2:SetCategory(CATEGORY_DAMAGE) e3:SetCategory(CATEGORY_DAMAGE)
e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e3:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e2:SetCode(EVENT_CUSTOM+32835363) e3:SetCode(EVENT_CUSTOM+32835363)
e2:SetTarget(c32835363.damtg) e3:SetTarget(c32835363.damtg)
e2:SetOperation(c32835363.damop) e3:SetOperation(c32835363.damop)
c:RegisterEffect(e2) c:RegisterEffect(e3)
end end
function c32835363.regcon(e,tp,eg,ep,ev,re,r,rp) function c32835363.regcon(e,tp,eg,ep,ev,re,r,rp)
local d1=false local d1=false
...@@ -54,8 +54,9 @@ function c32835363.damop(e,tp,eg,ep,ev,re,r,rp) ...@@ -54,8 +54,9 @@ function c32835363.damop(e,tp,eg,ep,ev,re,r,rp)
if not e:GetHandler():IsRelateToEffect(e) then return end if not e:GetHandler():IsRelateToEffect(e) then return end
local d=Duel.GetChainInfo(0,CHAININFO_TARGET_PARAM) local d=Duel.GetChainInfo(0,CHAININFO_TARGET_PARAM)
if ep==PLAYER_ALL then if ep==PLAYER_ALL then
Duel.Damage(tp,d,REASON_EFFECT) Duel.Damage(tp,d,REASON_EFFECT,true)
Duel.Damage(1-tp,d,REASON_EFFECT) Duel.Damage(1-tp,d,REASON_EFFECT,true)
Duel.RDComplete()
else else
Duel.Damage(ep,d,REASON_EFFECT) Duel.Damage(ep,d,REASON_EFFECT)
end end
......
...@@ -58,6 +58,7 @@ function c34004470.damtg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -58,6 +58,7 @@ function c34004470.damtg(e,tp,eg,ep,ev,re,r,rp,chk)
end end
function c34004470.damop(e,tp,eg,ep,ev,re,r,rp) function c34004470.damop(e,tp,eg,ep,ev,re,r,rp)
local d=Duel.GetChainInfo(0,CHAININFO_TARGET_PARAM) local d=Duel.GetChainInfo(0,CHAININFO_TARGET_PARAM)
Duel.Damage(1-tp,d,REASON_EFFECT) Duel.Damage(1-tp,d,REASON_EFFECT,true)
Duel.Damage(tp,d,REASON_EFFECT) Duel.Damage(tp,d,REASON_EFFECT,true)
Duel.RDComplete()
end end
...@@ -45,7 +45,8 @@ function c34449261.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -45,7 +45,8 @@ function c34449261.activate(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(c34449261.desfilter,tp,LOCATION_MZONE,LOCATION_MZONE,nil,tg) local g=Duel.GetMatchingGroup(c34449261.desfilter,tp,LOCATION_MZONE,LOCATION_MZONE,nil,tg)
if g:GetCount()>0 and Duel.Destroy(g,REASON_EFFECT)~=0 then if g:GetCount()>0 and Duel.Destroy(g,REASON_EFFECT)~=0 then
local dg=Duel.GetOperatedGroup() local dg=Duel.GetOperatedGroup()
if dg:IsExists(aux.FilterEqualFunction(Card.GetPreviousControler,tp),1,nil) then Duel.Damage(tp,dam,REASON_EFFECT) end if dg:IsExists(aux.FilterEqualFunction(Card.GetPreviousControler,tp),1,nil) then Duel.Damage(tp,dam,REASON_EFFECT,true) end
if dg:IsExists(aux.FilterEqualFunction(Card.GetPreviousControler,1-tp),1,nil) then Duel.Damage(1-tp,dam,REASON_EFFECT) end if dg:IsExists(aux.FilterEqualFunction(Card.GetPreviousControler,1-tp),1,nil) then Duel.Damage(1-tp,dam,REASON_EFFECT,true) end
Duel.RDComplete()
end end
end end
...@@ -27,8 +27,9 @@ function c35037880.filter(c) ...@@ -27,8 +27,9 @@ function c35037880.filter(c)
return ((c:IsSetCard(0xd) and c:IsType(TYPE_SPELL+TYPE_TRAP)) or c:IsSetCard(0xb0)) and c:IsAbleToHand() return ((c:IsSetCard(0xd) and c:IsType(TYPE_SPELL+TYPE_TRAP)) or c:IsSetCard(0xb0)) and c:IsAbleToHand()
end end
function c35037880.operation(e,tp,eg,ep,ev,re,r,rp) function c35037880.operation(e,tp,eg,ep,ev,re,r,rp)
Duel.Recover(tp,ev,REASON_EFFECT) Duel.Recover(tp,ev,REASON_EFFECT,true)
Duel.Damage(1-tp,ev,REASON_EFFECT) Duel.Damage(1-tp,ev,REASON_EFFECT,true)
Duel.RDComplete()
local g=Duel.GetMatchingGroup(c35037880.filter,tp,LOCATION_DECK,0,nil) local g=Duel.GetMatchingGroup(c35037880.filter,tp,LOCATION_DECK,0,nil)
if g:GetCount()>0 and Duel.SelectYesNo(tp,aux.Stringid(35037880,0)) then if g:GetCount()>0 and Duel.SelectYesNo(tp,aux.Stringid(35037880,0)) then
Duel.BreakEffect() Duel.BreakEffect()
......
...@@ -54,8 +54,9 @@ function c35842855.desop(e,tp,eg,ep,ev,re,r,rp) ...@@ -54,8 +54,9 @@ function c35842855.desop(e,tp,eg,ep,ev,re,r,rp)
if tc:IsRelateToEffect(e) and Duel.Destroy(tc,REASON_EFFECT)==1 then if tc:IsRelateToEffect(e) and Duel.Destroy(tc,REASON_EFFECT)==1 then
local atk=tc:GetTextAttack()/2 local atk=tc:GetTextAttack()/2
if atk>0 then if atk>0 then
Duel.Damage(tp,atk,REASON_EFFECT) Duel.Damage(tp,atk,REASON_EFFECT,true)
Duel.Damage(1-tp,atk,REASON_EFFECT) Duel.Damage(1-tp,atk,REASON_EFFECT,true)
Duel.RDComplete()
end end
end end
end end
......
...@@ -40,8 +40,9 @@ end ...@@ -40,8 +40,9 @@ end
function c37169670.damop(e,tp,eg,ep,ev,re,r,rp) function c37169670.damop(e,tp,eg,ep,ev,re,r,rp)
local ex1,a1,b1,p1,d1=Duel.GetOperationInfo(0,CATEGORY_DAMAGE) local ex1,a1,b1,p1,d1=Duel.GetOperationInfo(0,CATEGORY_DAMAGE)
local ex2,a2,b2,p2,d2=Duel.GetOperationInfo(0,CATEGORY_RECOVER) local ex2,a2,b2,p2,d2=Duel.GetOperationInfo(0,CATEGORY_RECOVER)
Duel.Damage(1-tp,d1,REASON_EFFECT) Duel.Damage(1-tp,d1,REASON_EFFECT,true)
Duel.Recover(tp,d2,REASON_EFFECT) Duel.Recover(tp,d2,REASON_EFFECT,true)
Duel.RDComplete()
end end
function c37169670.spcon(e,tp,eg,ep,ev,re,r,rp) function c37169670.spcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsReason(REASON_DESTROY) return e:GetHandler():IsReason(REASON_DESTROY)
......
...@@ -91,7 +91,8 @@ function c38522377.damop(e,tp,eg,ep,ev,re,r,rp) ...@@ -91,7 +91,8 @@ function c38522377.damop(e,tp,eg,ep,ev,re,r,rp)
local ex,g,gc,dp,dv=Duel.GetOperationInfo(0,CATEGORY_DAMAGE) local ex,g,gc,dp,dv=Duel.GetOperationInfo(0,CATEGORY_DAMAGE)
if dp~=PLAYER_ALL then Duel.Damage(dp,1000,REASON_EFFECT) if dp~=PLAYER_ALL then Duel.Damage(dp,1000,REASON_EFFECT)
else else
Duel.Damage(tp,1000,REASON_EFFECT) Duel.Damage(tp,1000,REASON_EFFECT,true)
Duel.Damage(1-tp,1000,REASON_EFFECT) Duel.Damage(1-tp,1000,REASON_EFFECT,true)
Duel.RDComplete()
end end
end end
...@@ -15,6 +15,7 @@ function c45311864.target(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -15,6 +15,7 @@ function c45311864.target(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SetOperationInfo(0,CATEGORY_DAMAGE,nil,0,1-tp,500) Duel.SetOperationInfo(0,CATEGORY_DAMAGE,nil,0,1-tp,500)
end end
function c45311864.operation(e,tp,eg,ep,ev,re,r,rp) function c45311864.operation(e,tp,eg,ep,ev,re,r,rp)
Duel.Damage(1-tp,500,REASON_EFFECT) Duel.Damage(1-tp,500,REASON_EFFECT,true)
Duel.Recover(tp,500,REASON_EFFECT) Duel.Recover(tp,500,REASON_EFFECT,true)
Duel.RDComplete()
end end
...@@ -36,8 +36,9 @@ function c46089249.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -36,8 +36,9 @@ function c46089249.activate(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
if tc:IsFaceup() and tc:IsRelateToEffect(e) then if tc:IsFaceup() and tc:IsRelateToEffect(e) then
if Duel.Destroy(tc,REASON_EFFECT)>0 then if Duel.Destroy(tc,REASON_EFFECT)>0 then
Duel.Damage(1-tp,1000,REASON_EFFECT) Duel.Damage(1-tp,1000,REASON_EFFECT,true)
Duel.Damage(tp,1000,REASON_EFFECT) Duel.Damage(tp,1000,REASON_EFFECT,true)
Duel.RDComplete()
end end
end end
end end
...@@ -14,6 +14,7 @@ function c46918794.target(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -14,6 +14,7 @@ function c46918794.target(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SetOperationInfo(0,CATEGORY_DAMAGE,nil,0,PLAYER_ALL,500) Duel.SetOperationInfo(0,CATEGORY_DAMAGE,nil,0,PLAYER_ALL,500)
end end
function c46918794.activate(e,tp,eg,ep,ev,re,r,rp) function c46918794.activate(e,tp,eg,ep,ev,re,r,rp)
Duel.Damage(1-tp,1000,REASON_EFFECT) Duel.Damage(1-tp,1000,REASON_EFFECT,true)
Duel.Damage(tp,500,REASON_EFFECT) Duel.Damage(tp,500,REASON_EFFECT,true)
Duel.RDComplete()
end end
...@@ -36,6 +36,7 @@ function c47233801.damop(e,tp,eg,ep,ev,re,r,rp) ...@@ -36,6 +36,7 @@ function c47233801.damop(e,tp,eg,ep,ev,re,r,rp)
dam=dam*2 dam=dam*2
c:SetFlagEffectLabel(47233801,dam) c:SetFlagEffectLabel(47233801,dam)
end end
Duel.Damage(tp,dam,REASON_EFFECT) Duel.Damage(tp,dam,REASON_EFFECT,true)
Duel.Damage(1-tp,dam,REASON_EFFECT) Duel.Damage(1-tp,dam,REASON_EFFECT,true)
Duel.RDComplete()
end end
...@@ -73,6 +73,7 @@ function c4807253.damtg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -73,6 +73,7 @@ function c4807253.damtg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SetOperationInfo(0,CATEGORY_DAMAGE,nil,0,PLAYER_ALL,500) Duel.SetOperationInfo(0,CATEGORY_DAMAGE,nil,0,PLAYER_ALL,500)
end end
function c4807253.damop(e,tp,eg,ep,ev,re,r,rp) function c4807253.damop(e,tp,eg,ep,ev,re,r,rp)
Duel.Damage(1-tp,500,REASON_EFFECT) Duel.Damage(1-tp,500,REASON_EFFECT,true)
Duel.Damage(tp,500,REASON_EFFECT) Duel.Damage(tp,500,REASON_EFFECT,true)
Duel.RDComplete()
end end
...@@ -67,6 +67,7 @@ function c5126490.damop(e,tp,eg,ep,ev,re,r,rp) ...@@ -67,6 +67,7 @@ function c5126490.damop(e,tp,eg,ep,ev,re,r,rp)
local def=bc:GetDefence() local def=bc:GetDefence()
if atk<0 then atk=0 end if atk<0 then atk=0 end
if def<0 then def=0 end if def<0 then def=0 end
Duel.Damage(1-tp,atk,REASON_EFFECT) Duel.Damage(1-tp,atk,REASON_EFFECT,true)
Duel.Recover(tp,def,REASON_EFFECT) Duel.Recover(tp,def,REASON_EFFECT,true)
Duel.RDComplete()
end end
...@@ -19,6 +19,7 @@ function c58071123.damtg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -19,6 +19,7 @@ function c58071123.damtg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SetOperationInfo(0,CATEGORY_DAMAGE,nil,0,PLAYER_ALL,800) Duel.SetOperationInfo(0,CATEGORY_DAMAGE,nil,0,PLAYER_ALL,800)
end end
function c58071123.damop(e,tp,eg,ep,ev,re,r,rp) function c58071123.damop(e,tp,eg,ep,ev,re,r,rp)
Duel.Damage(tp,800,REASON_EFFECT) Duel.Damage(tp,800,REASON_EFFECT,true)
Duel.Damage(1-tp,800,REASON_EFFECT) Duel.Damage(1-tp,800,REASON_EFFECT,true)
Duel.RDComplete()
end end
...@@ -26,7 +26,8 @@ end ...@@ -26,7 +26,8 @@ end
function c71782404.activate(e,tp,eg,ep,ev,re,r,rp) function c71782404.activate(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
if tc:IsRelateToEffect(e) then if tc:IsRelateToEffect(e) then
Duel.Damage(1-tp,tc:GetBaseAttack(),REASON_EFFECT) Duel.Damage(1-tp,tc:GetBaseAttack(),REASON_EFFECT,true)
Duel.Damage(tp,tc:GetBaseAttack(),REASON_EFFECT) Duel.Damage(tp,tc:GetBaseAttack(),REASON_EFFECT,true)
Duel.RDComplete()
end end
end end
...@@ -23,6 +23,7 @@ end ...@@ -23,6 +23,7 @@ end
function c73507661.activate(e,tp,eg,ep,ev,re,r,rp) function c73507661.activate(e,tp,eg,ep,ev,re,r,rp)
local sg=Duel.GetMatchingGroup(c73507661.filter,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,e:GetHandler()) local sg=Duel.GetMatchingGroup(c73507661.filter,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,e:GetHandler())
local ct=Duel.Destroy(sg,REASON_EFFECT) local ct=Duel.Destroy(sg,REASON_EFFECT)
Duel.Damage(tp,ct*300,REASON_EFFECT) Duel.Damage(tp,ct*300,REASON_EFFECT,true)
Duel.Damage(1-tp,ct*300,REASON_EFFECT) Duel.Damage(1-tp,ct*300,REASON_EFFECT,true)
Duel.RDComplete()
end end
--フォトン・アレキサンドラ・クーン --フォトン・アレキサンドラ・クーン
function c75797046.initial_effect(c) function c75797046.initial_effect(c)
--xyz summon --xyz summon
aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsSetCard,0x6a),4,2) aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsSetCard,0x6a),4,2)
...@@ -33,6 +33,7 @@ function c75797046.retop(e,tp,eg,ep,ev,re,r,rp) ...@@ -33,6 +33,7 @@ function c75797046.retop(e,tp,eg,ep,ev,re,r,rp)
Duel.SendtoHand(g,nil,REASON_EFFECT) Duel.SendtoHand(g,nil,REASON_EFFECT)
local ct1=g:FilterCount(c75797046.hfilter,nil,tp) local ct1=g:FilterCount(c75797046.hfilter,nil,tp)
local ct2=g:FilterCount(c75797046.hfilter,nil,1-tp) local ct2=g:FilterCount(c75797046.hfilter,nil,1-tp)
Duel.Damage(tp,ct1*300,REASON_EFFECT) Duel.Damage(tp,ct1*300,REASON_EFFECT,true)
Duel.Damage(1-tp,ct2*300,REASON_EFFECT) Duel.Damage(1-tp,ct2*300,REASON_EFFECT,true)
Duel.RDComplete()
end end
...@@ -61,6 +61,7 @@ function c89405199.damop(e,tp,eg,ep,ev,re,r,rp) ...@@ -61,6 +61,7 @@ function c89405199.damop(e,tp,eg,ep,ev,re,r,rp)
if not c:IsRelateToEffect(e) then return end if not c:IsRelateToEffect(e) then return end
local ct1=c:GetFlagEffectLabel(89405199+tp) local ct1=c:GetFlagEffectLabel(89405199+tp)
local ct2=c:GetFlagEffectLabel(89405199+1-tp) local ct2=c:GetFlagEffectLabel(89405199+1-tp)
if ct1 then Duel.Damage(tp,ct1*500,REASON_EFFECT) end if ct1 then Duel.Damage(tp,ct1*500,REASON_EFFECT,true) end
if ct2 then Duel.Damage(1-tp,ct2*500,REASON_EFFECT) end if ct2 then Duel.Damage(1-tp,ct2*500,REASON_EFFECT,true) end
Duel.RDComplete()
end end
...@@ -32,8 +32,9 @@ function c89719143.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -32,8 +32,9 @@ function c89719143.activate(e,tp,eg,ep,ev,re,r,rp)
local dam=tc1:GetAttack()+tc2:GetAttack() local dam=tc1:GetAttack()+tc2:GetAttack()
if Duel.NegateAttack() then if Duel.NegateAttack() then
if tc1:IsRelateToEffect(e) and tc1:IsFaceup() and tc2:IsRelateToEffect(e) and tc2:IsFaceup() then if tc1:IsRelateToEffect(e) and tc1:IsFaceup() and tc2:IsRelateToEffect(e) and tc2:IsFaceup() then
Duel.Damage(1-tp,dam,REASON_EFFECT) Duel.Damage(1-tp,dam,REASON_EFFECT,true)
Duel.Damage(tp,dam,REASON_EFFECT) Duel.Damage(tp,dam,REASON_EFFECT,true)
Duel.RDComplete()
end end
end end
end end
...@@ -29,6 +29,7 @@ function c93469007.target(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -29,6 +29,7 @@ function c93469007.target(e,tp,eg,ep,ev,re,r,rp,chk)
end end
function c93469007.activate(e,tp,eg,ep,ev,re,r,rp) function c93469007.activate(e,tp,eg,ep,ev,re,r,rp)
local d=Duel.GetChainInfo(0,CHAININFO_TARGET_PARAM) local d=Duel.GetChainInfo(0,CHAININFO_TARGET_PARAM)
Duel.Damage(1-tp,d,REASON_EFFECT) Duel.Damage(1-tp,d,REASON_EFFECT,true)
Duel.Damage(tp,d,REASON_EFFECT) Duel.Damage(tp,d,REASON_EFFECT,true)
Duel.RDComplete()
end end
...@@ -33,9 +33,10 @@ end ...@@ -33,9 +33,10 @@ end
function c93671934.damop(e,tp,eg,ep,ev,re,r,rp) function c93671934.damop(e,tp,eg,ep,ev,re,r,rp)
local g=eg:Filter(c93671934.filter,nil) local g=eg:Filter(c93671934.filter,nil)
if g:IsExists(Card.IsControler,1,nil,tp) then if g:IsExists(Card.IsControler,1,nil,tp) then
Duel.Damage(tp,1000,REASON_EFFECT) Duel.Damage(tp,1000,REASON_EFFECT,true)
end end
if g:IsExists(Card.IsControler,1,nil,1-tp) then if g:IsExists(Card.IsControler,1,nil,1-tp) then
Duel.Damage(1-tp,1000,REASON_EFFECT) Duel.Damage(1-tp,1000,REASON_EFFECT,true)
end end
Duel.RDComplete()
end end
...@@ -27,8 +27,9 @@ end ...@@ -27,8 +27,9 @@ end
function c94667532.damop(e,tp,eg,ep,ev,re,r,rp) function c94667532.damop(e,tp,eg,ep,ev,re,r,rp)
local p,d=Duel.GetChainInfo(0,CHAININFO_TARGET_PLAYER,CHAININFO_TARGET_PARAM) local p,d=Duel.GetChainInfo(0,CHAININFO_TARGET_PLAYER,CHAININFO_TARGET_PARAM)
if p==PLAYER_ALL then if p==PLAYER_ALL then
Duel.Damage(0,d,REASON_EFFECT) Duel.Damage(0,d,REASON_EFFECT,true)
Duel.Damage(1,d,REASON_EFFECT) Duel.Damage(1,d,REASON_EFFECT,true)
Duel.RDComplete()
else else
Duel.Damage(p,d,REASON_EFFECT) Duel.Damage(p,d,REASON_EFFECT)
end end
......
...@@ -22,6 +22,7 @@ end ...@@ -22,6 +22,7 @@ end
function c98139712.operation(e,tp,eg,ep,ev,re,r,rp) function c98139712.operation(e,tp,eg,ep,ev,re,r,rp)
local d1=eg:FilterCount(c98139712.filter1,nil,tp)*300 local d1=eg:FilterCount(c98139712.filter1,nil,tp)*300
local d2=eg:FilterCount(c98139712.filter2,nil,tp)*300 local d2=eg:FilterCount(c98139712.filter2,nil,tp)*300
Duel.Damage(1-tp,d1,REASON_EFFECT) Duel.Damage(1-tp,d1,REASON_EFFECT,true)
Duel.Damage(tp,d2,REASON_EFFECT) Duel.Damage(tp,d2,REASON_EFFECT,true)
Duel.RDComplete()
end end
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