Commit effd118e authored by TanakaKotoha's avatar TanakaKotoha

dededededededededededede

parent 023ed6a1
No preview for this file type
...@@ -9,11 +9,12 @@ function cm.initial_effect(c) ...@@ -9,11 +9,12 @@ function cm.initial_effect(c)
e1:SetCategory(CATEGORY_DESTROY) e1:SetCategory(CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_IGNITION) e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE) e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1,m)
e1:SetCost(cm.descost) e1:SetCost(cm.descost)
e1:SetTarget(cm.destg) e1:SetTarget(cm.destg)
e1:SetOperation(cm.desop) e1:SetOperation(cm.desop)
c:RegisterEffect(e1) c:RegisterEffect(e1)
--double attack --double attack
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_SINGLE) e2:SetType(EFFECT_TYPE_SINGLE)
e2:SetCode(EFFECT_EXTRA_ATTACK) e2:SetCode(EFFECT_EXTRA_ATTACK)
......
...@@ -24,18 +24,18 @@ function c95275440.initial_effect(c) ...@@ -24,18 +24,18 @@ function c95275440.initial_effect(c)
e2:SetOperation(c95275440.activate) e2:SetOperation(c95275440.activate)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function c95275440.filter(c)
return c:IsType(TYPE_SPELL+TYPE_TRAP)
end
function c95275440.damtg(e,tp,eg,ep,ev,re,r,rp,chk) function c95275440.damtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end if chk==0 then return true end
Duel.SetTargetPlayer(1-tp) Duel.SetTargetPlayer(1-tp)
Duel.SetTargetParam(120) Duel.SetTargetParam(120)
Duel.SetOperationInfo(0,CATEGORY_DAMAGE,nil,0,1-tp,120) Duel.SetOperationInfo(0,CATEGORY_DAMAGE,nil,0,1-tp,120)
if e:IsHasType(EFFECT_TYPE_ACTIVATE) then
Duel.SetChainLimit(aux.FALSE)
end
end end
function c95275440.damop(e,tp,eg,ep,ev,re,r,rp) function c95275440.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)
Duel.Damage(p,d,REASON_EFFECT) Duel.Damage(p,d,REASON_EFFECT)
end end
function c95275440.condition(e,tp,eg,ep,ev,re,r,rp) function c95275440.condition(e,tp,eg,ep,ev,re,r,rp)
local ph=Duel.GetCurrentPhase() local ph=Duel.GetCurrentPhase()
......
...@@ -26,7 +26,7 @@ function c95280014.initial_effect(c) ...@@ -26,7 +26,7 @@ function c95280014.initial_effect(c)
e3:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e3:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e3:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DELAY) e3:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DELAY)
e3:SetCode(EVENT_TO_GRAVE) e3:SetCode(EVENT_TO_GRAVE)
e3:SetCountLimit(1,c95280014) e3:SetCountLimit(1,95280914)
e3:SetCondition(c95280014.descon) e3:SetCondition(c95280014.descon)
e3:SetTarget(c95280014.destg) e3:SetTarget(c95280014.destg)
e3:SetOperation(c95280014.desop) e3:SetOperation(c95280014.desop)
......
...@@ -16,7 +16,7 @@ function c95280020.initial_effect(c) ...@@ -16,7 +16,7 @@ function c95280020.initial_effect(c)
e1:SetTarget(c95280020.distg) e1:SetTarget(c95280020.distg)
e1:SetOperation(c95280020.disop) e1:SetOperation(c95280020.disop)
c:RegisterEffect(e1) c:RegisterEffect(e1)
--indestructable --indestructable
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_SINGLE) e2:SetType(EFFECT_TYPE_SINGLE)
e2:SetProperty(EFFECT_FLAG_SINGLE_RANGE) e2:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
......
...@@ -5,6 +5,7 @@ function c95280024.initial_effect(c) ...@@ -5,6 +5,7 @@ function c95280024.initial_effect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN) e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCountLimit(1,95280024+EFFECT_COUNT_CODE_OATH)
e1:SetCost(c95280024.cost) e1:SetCost(c95280024.cost)
e1:SetTarget(c95280024.target) e1:SetTarget(c95280024.target)
e1:SetOperation(c95280024.activate) e1:SetOperation(c95280024.activate)
......
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