Commit ba099435 authored by wind2009's avatar wind2009 Committed by GitHub

Fix 幻惑の巻物 (#2281)

parent 2d234eaa
......@@ -13,6 +13,7 @@ function c10352095.initial_effect(c)
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_EQUIP)
e2:SetCode(EFFECT_CHANGE_ATTRIBUTE)
e2:SetCondition(c10352095.con)
e2:SetValue(c10352095.value)
c:RegisterEffect(e2)
e1:SetLabelObject(e2)
......@@ -41,6 +42,9 @@ function c10352095.operation(e,tp,eg,ep,ev,re,r,rp)
Duel.Equip(tp,e:GetHandler(),tc)
end
end
function c10352095.con(e,tp,eg,ep,ev,re,r,rp)
return e:GetLabel()>0
end
function c10352095.value(e,c)
return e:GetLabel()
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