Commit f8536357 authored by wind2009's avatar wind2009

Fix 魂を刻む右

parent b7c3075a
Pipeline #26409 passed with stages
in 1 minute
...@@ -32,7 +32,8 @@ function s.initial_effect(c) ...@@ -32,7 +32,8 @@ function s.initial_effect(c)
c:RegisterEffect(e4) c:RegisterEffect(e4)
local e5=Effect.CreateEffect(c) local e5=Effect.CreateEffect(c)
e5:SetDescription(aux.Stringid(id,1)) e5:SetDescription(aux.Stringid(id,1))
e5:SetCategory(CATEGORY_COUNTER) e5:SetCategory(CATEGORY_REMOVE+CATEGORY_ATKCHANGE)
e5:SetProperty(EFFECT_FLAG_CARD_TARGET)
e5:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O) e5:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e5:SetCode(EVENT_ATTACK_ANNOUNCE) e5:SetCode(EVENT_ATTACK_ANNOUNCE)
e5:SetRange(LOCATION_SZONE) e5:SetRange(LOCATION_SZONE)
...@@ -75,7 +76,6 @@ function s.atkop(e,tp,eg,ep,ev,re,r,rp) ...@@ -75,7 +76,6 @@ function s.atkop(e,tp,eg,ep,ev,re,r,rp)
local qc=e:GetHandler():GetEquipTarget() local qc=e:GetHandler():GetEquipTarget()
local atk=qc:GetAttack() local atk=qc:GetAttack()
local c=e:GetHandler() local c=e:GetHandler()
local lp=Duel.GetLP(tp)
local g=Duel.GetMatchingGroup(s.atkfilter,tp,0,LOCATION_MZONE,nil,atk) local g=Duel.GetMatchingGroup(s.atkfilter,tp,0,LOCATION_MZONE,nil,atk)
local tc=g:GetFirst() local tc=g:GetFirst()
for tc in aux.Next(g) do for tc in aux.Next(g) do
......
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