Quote:
|
how can i create a quest for a item who give you 50% exp , double drop , double drop yang , increase love ponts double ... and i don't know ( like metin2united premium system )
|
Code:
quest use_item begin
state start begin
when ITEM_VNUM.use begin
local limit_time = 60 * 60 * 24 * 365 * 60 -- how long the buffs should be active? (in sec)
affect.add_collect(apply.EXP_DOUBLE_BONUS, 50, limit_time)
affect.add_collect(apply.GOLD_DOUBLE_BONUS, 50, limit_time)
affect.add_collect(apply.ITEM_DROP_BONUS, 50, limit_time)
-- love_points missing...
end
end
end
But I don't know how to increase the love-points, sry ...
I don't think there is any apply which could do this...
Destroyer446