Jump to content
  • 0
Sign in to follow this  
Luffy

[HELP]

Question

Help! can someone help editing this one?
dont know how to make it for example.

Friday will start Double EXP on 12 pm and will end 12 midnight
 then

Saturday will start again Double EXP on 12 pm and will end 12 midnight

 

until Monday.

 

This is my DROPS.CONF : http://upaste.me/fe7b144307a2d54b8
and my Normal Exp/job exp rate is 100x / 100x

 

-	script    FloatingRate    -1,{OnSat0000:OnMon0000:OnInit:	if ( gettime(4) == 6 || gettime(4) == 0 ) {		announce "Double EXP and DROP rate EVENT started", bc_all;		setbattleflag "base_exp_rate", 20000;		setbattleflag "job_exp_rate", 20000;		setbattleflag "item_rate_common", 4000;		setbattleflag "item_rate_heal", 4000;		setbattleflag "item_rate_use", 4000;		setbattleflag "item_rate_equip", 8000;		atcommand "@reloadmobdb";	}	else if ( gettime(4) == 1 && gettime(3) == 0 && gettime(2) == 0 ) {		announce "Double EXP and DROP rate EVENT ended", bc_all;		setbattleflag "base_exp_rate", 10000;		setbattleflag "job_exp_rate", 10000;		setbattleflag "item_rate_common", 2000;		setbattleflag "item_rate_heal", 2000;		setbattleflag "item_rate_use", 2000;		setbattleflag "item_rate_equip", 4000;		atcommand "@reloadmobdb";	}	end;} 
Edited by Luffy

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Mysterious has a Script doing this

 

http://mysterious-project.googlecode.com/svn/trunk/npc/DoubleEXP.txt

 

Edit: Didnt See your Edit

gettime(4)== (0: Sunday - 6: Saturday)
For The timer use OnClock: Edited by Ridley

Share this post


Link to post
Share on other sites
  • 0

Hi Ridley thank you for the fast reply.

still confuse, can you specify the numbers of monday to sunday, i understand now that 0 is sunday and 6 is saturday? so 5 is friday? 4 is thursday? 3 is wed?
2 is tue? 1 is monday?

then on the OnClock how will i put it there? can you give example? on how it will Start and how will it END XD..

3rd, can i add
  setbattleflag "item_rate_common", 4000;
setbattleflag "item_rate_heal", 4000;
setbattleflag "item_rate_use", 4000;
setbattleflag "item_rate_equip", 8000;

 

on Mysterious script?

Edited by Luffy

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
Answer this question...

×   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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.