Jump to content
  • 0

request:timer


cadz

Question


  • Group:  Members
  • Topic Count:  83
  • Topics Per Day:  0.02
  • Content Count:  243
  • Reputation:   1
  • Joined:  08/29/12
  • Last Seen:  

-    script    FloatingRates    -1,{
OnInit:
//add any other HOURS
OnHour00:
OnHour06:
OnHour12:
OnHour18:
//-------------------
    set $@brate,rand(100,150);
    set $@jrate,rand(100,150);
    set $@drate,rand(100,150);
    //Base exp
    setbattleflag("base_exp_rate",$@brate);
    //Job exp
    setbattleflag("job_exp_rate",$@jrate);
    //Drops
    setbattleflag("item_rate_common",$@drate);
    setbattleflag("item_rate_heal",$@drate);
    setbattleflag("item_rate_use",$@drate);
    setbattleflag("item_rate_equip",$@drate);
    //we don't change card drops rate, because these values won't change them anyway
    atcommand "@reloadmobdb";
    
    announce "Current Rune-Midgard rates are: 1."+($@brate-100)+"x 1."+($@jrate-100)+"x 1."+($@drate-100)+"x",bc_all,0xFF6060;
    end;
}

 

 

hi how to change this to every 4 hrs there will be 1 hr floating rates. thanks in advance

Edited by Emistry
Use [Code] tag for long contents.
Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  118
  • Topics Per Day:  0.03
  • Content Count:  1942
  • Reputation:   197
  • Joined:  01/08/12
  • Last Seen:  

just simply change the time.

 

OnHour00: 12am
OnHour01: 1am
OnHour05: 12am
OnHour06: 6am

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  118
  • Topics Per Day:  0.03
  • Content Count:  1942
  • Reputation:   197
  • Joined:  01/08/12
  • Last Seen:  

OnHour00: 12am
OnHour06: 6am
OnHour12: 12pm
OnHour18: 6pm

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  83
  • Topics Per Day:  0.02
  • Content Count:  243
  • Reputation:   1
  • Joined:  08/29/12
  • Last Seen:  

hmm i mean floating rates will trigger ever 4 hours but it will last only 1 hr

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  83
  • Topics Per Day:  0.02
  • Content Count:  243
  • Reputation:   1
  • Joined:  08/29/12
  • Last Seen:  

okay thanks a lot.



=)

Link to comment
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.   Paste as plain text instead

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