Jump to content
  • 0

[Q] Floating Rates EDIT


Question

Posted

 

Hi guys, I would like to ask some question about this floating rate script.

 

 

//===== rAthena Script =======================================

//= Floating Server Rates
//===== By: ==================================================
//= Lupus
//===== Current Version: =====================================
//= 1.0
//===== Compatible With: =====================================
//= rAthena Project
//===== Description: =========================================
//= It's a simply example of setbattleflag
//= This script will change your server rates from 1x to 1.5x every 6 hours
//= Note: It doesn't affect Card granted drops, MVP & Treasure Chests drops ^_-
//=       It also doesn't affect CARD drops, because they are just 0.01%
//===== Additional Comments: =================================
//= You can make incredible scripts with 'setbattleflag'!
//============================================================
 
- script FloatingRates -1,{
OnInit:
//add any other HOURS
OnHour00:
OnHour06:
OnHour12:
OnHour18:
//-------------------
set $@brate,rand(350,450);
set $@jrate,rand(350,450);
set $@drate,rand(350,380);
//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 Earthfall rates are: 3."+($@brate-100)+"x 3."+($@jrate-100)+"x 3."+($@drate-100)+"x",bc_all,0xFF6060;
end;
}

 

on the announce area, did I set them correctly? Matching the bonus rates that I'm trying to give?

4 answers to this question

Recommended Posts

  • 0
Posted

No. You Will need to remove these "3.". Like:

announce "Current Earthfall rates are: "+($@brate-100)+"x "+($@jrate-100)+"x "+($@drate-100)+"x",bc_all,0xFF6060;

Rynbef~

  • 0
Posted

I dont know what you want. Please explain it much more.

 

Rynbef~

Sorry sir,

 

This section

"announce "Current Earthfall rates are: 3."+($@brate-100)+"x 3."+($@jrate-100)+"x 3."+($@drate-100)+"x",bc_all,0xFF6060;end;"
 
Does it match the floating rates i set? Because its gonna announce the rates once active right? I don't want the players to get misinformation.
  • 0
Posted

No. You Will need to remove these "3.". Like:

announce "Current Earthfall rates are: "+($@brate-100)+"x "+($@jrate-100)+"x "+($@drate-100)+"x",bc_all,0xFF6060;

Rynbef~

 

Thank you sir. :D

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...