Commit dc0874f1 authored by POLYMER's avatar POLYMER

fix

parent f63f4a07
......@@ -115,6 +115,8 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
e1:SetLabel(lab,eid)
e1:SetOperation(cm.adjustop)
Duel.RegisterEffect(e1,tp)
Duel.Hint(HINT_OPSELECTED,tp,aux.Stringid(m,lab))
Duel.Hint(HINT_OPSELECTED,1-tp,aux.Stringid(m,lab))
end
end
function cm.nfilter(c,eid)
......
......@@ -6865,13 +6865,13 @@ end
function cm.ADGDactarget2(e,te,tp)
local c=e:GetLabelObject()
local p=c:GetControler()
return Duel.GetLocationCount(p,LOCATION_SZONE)>0 and te:IsActiveType(TYPE_FIELD) and te:IsHasType(EFFECT_TYPE_ACTIVATE) and c:IsLocation(LOCATION_FZONE) and c:IsControler(p) and p==tp and te:GetHandler()~=c
return c:IsLocation(LOCATION_FZONE) and Duel.GetLocationCount(p,LOCATION_SZONE)>0 and te:IsActiveType(TYPE_FIELD) and te:IsHasType(EFFECT_TYPE_ACTIVATE) and c:IsControler(p) and p==tp and te:GetHandler()~=c
end
function cm.ADGDactarget3(e,tc,tp)
if Dragoron_SSet_Check then return false end
local c=e:GetLabelObject()
local p=c:GetControler()
return Duel.GetLocationCount(p,LOCATION_SZONE)>0 and tc:IsType(TYPE_FIELD) and c:IsLocation(LOCATION_FZONE) and c:IsControler(p) and tc:GetControler()==p and tc~=c
return c:IsLocation(LOCATION_FZONE) and Duel.GetLocationCount(p,LOCATION_SZONE)>0 and tc:IsType(TYPE_FIELD) and c:IsControler(p) and tc:GetControler()==p and tc~=c
end
function cm.ADGDactarget(e,te,tp)
local ce=e:GetLabelObject()
......
......@@ -100,7 +100,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
e0:SetType(EFFECT_TYPE_SINGLE)
e0:SetCode(EFFECT_ADD_TYPE)
e0:SetValue(TYPE_RITUAL)
e0:SetReset(RESET_EVENT+0xff0000)
e0:SetReset(RESET_EVENT+0xfc0000)
tc:RegisterEffect(e0)
local e0_1=e0:Clone()
e0_1:SetCode(EFFECT_REMOVE_TYPE)
......
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