Commit 29d65e84 authored by mallu11's avatar mallu11 Committed by mercury233

fix チューン・ナイト (#1313)

parent 187e48e4
......@@ -41,7 +41,7 @@ function c38783169.initial_effect(c)
e5:SetType(EFFECT_TYPE_SINGLE)
e5:SetCode(EFFECT_EQUIP_LIMIT)
e5:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e5:SetValue(c38783169.eqlimit)
e5:SetValue(1)
c:RegisterEffect(e5)
end
function c38783169.tntg(e,tp,eg,ep,ev,re,r,rp,chk)
......@@ -134,6 +134,3 @@ end
function c38783169.repval(e,re,r,rp)
return bit.band(r,REASON_BATTLE)~=0 or bit.band(r,REASON_EFFECT)~=0
end
function c38783169.eqlimit(e,c)
return e:GetHandler():GetEquipTarget()==c
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