--毒符--穿戴触发---后
function takeon9(actor, itemobj)
local itemname = getconst(actor, "<$BUJUK>")
-- 黑月·之泪 每天19:00-07:00时间段激活属性:攻击倍数:+ 15%
if itemname == "黑月·之泪" then
if checktimeInPeriod(18, 59, 6, 59) then
Player.setAttList(actor, "倍攻附加")
end
end
GameEvent.push(EventCfg.onTakeOn9, actor, itemobj)
end
--毒符--脱掉触发---后
function takeoff9(actor, itemobj)
local itemname = getiteminfo(actor, itemobj, 7)
-- 黑月·之泪 每天19:00-07:00时间段激活属性:攻击倍数:+ 15%
if itemname == "黑月·之泪" then
if checktimeInPeriod(18, 59, 6, 59) then
Player.setAttList(actor, "倍攻附加")
end
end
GameEvent.push(EventCfg.onTakeOff9, actor, itemobj)
end