Commit 214d074f authored by Tachibana's avatar Tachibana

ndyd

parent 8d0a6d45
......@@ -41,8 +41,8 @@ function cm.initial_effect(c)
e2:SetOperation(cm.spop)
c:RegisterEffect(e2)
end
c12030002.halo_yatori=1
function c12030002.named_with_yatori(c)
cm.halo_yatori=1
function cm.named_with_yatori(c)
local m=_G["c"..c:GetCode()]
return m and m.halo_yatori
end
......
......@@ -151,7 +151,7 @@ function cm.atop(e,tp,eg,ep,ev,re,r,rp)
if not ex then return end
if cp~=PLAYER_ALL then
if Duel.IsPlayerAffectedByEffect(cp,EFFECT_REVERSE_DAMAGE) then v=v+ev1 end
elseif Duel.IsPlayerAffectedByEffect(0,EFFECT_REVERSE_DAMAGE) or Duel.IsPlayerAffectedByEffect(1,EFFECT_REVERSE_DAMAGE) then v=v+ev1 end
elseif Duel.IsPlayerAffectedByEffect(0,EFFECT_REVERSE_DAMAGE) or Duel.IsPlayerAffectedByEffect(1,EFFECT_REVERSE_DAMAGE) then v=v+ev1
end
local g=Group.CreateGroup()
Duel.ChangeTargetCard(ev,g)
......
......@@ -66,6 +66,7 @@ function cm.damop1(e,tp,eg,ep,ev,re,r,rp)
if seq==6 then flag=flag|(aux.SequenceToGlobal(p,LOCATION_MZONE,3)) end
else toGrave=true
end
end
elseif tc:IsLocation(LOCATION_SZONE) then
if seq<=4 then
if seq>0 and Duel.CheckLocation(p,LOCATION_SZONE,seq-1) then flag=flag|(aux.SequenceToGlobal(p,LOCATION_SZONE,seq-1)) end
......
......@@ -71,7 +71,7 @@ function s.acop(e, tp, eg, ep, ev, re, r, rp)
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_UPDATE_DEFENSE)
e1:SetValue(ac:GetTextDefense)
e1:SetValue(ac:GetTextDefense())
e1:SetReset(RESET_EVENT+RESETS_STANDARD)
tc:RegisterEffect(e1)
end
......
......@@ -128,7 +128,7 @@ function c71402000.efop(e,tp,eg,ep,ev,re,r,rp)
end
elseif dc==4 then
local thg=Duel.GetMatchingGroup(c71402000.filter3,tp,LOCATION_GRAVE,0,nil)
if thg:GetCount()>0
if thg:GetCount()>0 then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
local sc=thg:Select(tp,1,1,nil):GetFirst()
Duel.SendtoHand(sc,nil,REASON_EFFECT)
......
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