Jump to content
Dreter

x2 exp&drop weekends

Recommended Posts

hi guys i have put this function in my server

-----------

if  (DoubleExp == true) then
EXP_RAID = 20                                    -- Rates x2
MF_RAID = 30
TeamExp_RAID = 30
else
EXP_RAID = 10                                    -- Real rates
MF_RAID = 15
TeamExp_RAID = 15
end

-----------


add it at end of variable.lua :

DoubleExp = false

And it works good but i want to put it with that only weekends x2 is on and i have found this function

local Now_Week = GetNowWeek ()
if Now_Week == 6 or Now_Week == 7 then

EXP_RAID = 6
MF_RAID = 20
Resource_RAID_ADJUST = 20
TeamExp_RAID = 10
ELEEXP_GETRAD = 500

else

EXP_RAID = 3
MF_RAID = 10
Resource_RAID_ADJUST = 10
TeamExp_RAID = 5
ELEEXP_GETRAD = 250

end

it's the same? i need to put it in functions.lua -> cha_timer?

And how to add that system tell to players that x2 exp and drop it's on? and the duration is the satudary and sunday?

it will be like this?

	if math.mod(now_tick,120) == 0 and now_tick >0 then
		BickerNotice(role,"Double Exp and Drop it's on duration saturday and sunday at 00:00 of sunday double exp off! ENJOY :)!!")

but where tu put all this?

 

Hope some can help me thank's

 

In advance

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...