Commit 31958a95 authored by Tachibana's avatar Tachibana

ndyd

parent 6f5d0837
...@@ -31,7 +31,6 @@ function cm.initial_effect(c,flag) ...@@ -31,7 +31,6 @@ function cm.initial_effect(c,flag)
e4:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH) e4:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e4:SetType(EFFECT_TYPE_IGNITION) e4:SetType(EFFECT_TYPE_IGNITION)
e4:SetRange(LOCATION_SZONE) e4:SetRange(LOCATION_SZONE)
e4:SetCountLimit(1,m)
e4:SetCondition(cm.con1) e4:SetCondition(cm.con1)
e4:SetTarget(cm.sptg) e4:SetTarget(cm.sptg)
e4:SetOperation(cm.spop) e4:SetOperation(cm.spop)
...@@ -131,7 +130,7 @@ function cm.con1(e,tp) ...@@ -131,7 +130,7 @@ function cm.con1(e,tp)
end end
function cm.con2(e,tp) function cm.con2(e,tp)
local c=e:GetHandler() local c=e:GetHandler()
return Duel.IsPlayerAffectedByEffect(tp,16150008) and c:GetEquipTarget()~=nil return Duel.IsPlayerAffectedByEffect(tp,16150008) and c:GetEquipTarget()~=nil and not c:IsStatus(STATUS_CHAINING)
end end
function cm.sptg(e,tp,eg,ep,ev,re,r,rp,chk) function cm.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler() local c=e:GetHandler()
......
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