Commit 549d7793 authored by Ma's avatar Ma

Update c88610708.lua

装備モンスターの戦闘によって発生する自分への戦闘ダメージは0になる。
parent c383b611
...@@ -26,7 +26,6 @@ function c88610708.initial_effect(c) ...@@ -26,7 +26,6 @@ function c88610708.initial_effect(c)
local e4=Effect.CreateEffect(c) local e4=Effect.CreateEffect(c)
e4:SetType(EFFECT_TYPE_EQUIP) e4:SetType(EFFECT_TYPE_EQUIP)
e4:SetCode(EFFECT_AVOID_BATTLE_DAMAGE) e4:SetCode(EFFECT_AVOID_BATTLE_DAMAGE)
e4:SetCondition(c88610708.damcon)
e4:SetValue(1) e4:SetValue(1)
c:RegisterEffect(e4) c:RegisterEffect(e4)
end end
...@@ -50,6 +49,3 @@ function c88610708.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -50,6 +49,3 @@ function c88610708.operation(e,tp,eg,ep,ev,re,r,rp)
Duel.Equip(tp,c,tc) Duel.Equip(tp,c,tc)
end end
end end
function c88610708.damcon(e)
return Duel.GetAttacker()==e:GetHandler():GetEquipTarget()
end
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