summaryrefslogtreecommitdiff
path: root/npc/custom/floating_rates.txt
diff options
context:
space:
mode:
authorbrianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-25 06:54:26 +0000
committerbrianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-25 06:54:26 +0000
commit1d8592b23ce221f543fb9978c88620f70280c885 (patch)
tree66b363ecaa0da42195d2c9d1b8e5cd6fe8cc33a2 /npc/custom/floating_rates.txt
parent0f82fd5bc403400dc9464a8f02298416b99b0bbc (diff)
downloadhercules-1d8592b23ce221f543fb9978c88620f70280c885.tar.gz
hercules-1d8592b23ce221f543fb9978c88620f70280c885.tar.bz2
hercules-1d8592b23ce221f543fb9978c88620f70280c885.tar.xz
hercules-1d8592b23ce221f543fb9978c88620f70280c885.zip
- Standardized script headers, starting with /npc/custom/
http://rathena.org/wiki/Script_header git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15262 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/custom/floating_rates.txt')
-rw-r--r--npc/custom/floating_rates.txt25
1 files changed, 11 insertions, 14 deletions
diff --git a/npc/custom/floating_rates.txt b/npc/custom/floating_rates.txt
index 26ab4a432..daa11878e 100644
--- a/npc/custom/floating_rates.txt
+++ b/npc/custom/floating_rates.txt
@@ -1,25 +1,22 @@
-//===== rAthena Script ======================================================================
+//===== rAthena Script =======================================
//= Floating Server Rates
-//===== Original By =========================================================================
+//===== By: ==================================================
//= Lupus
-//===== Current Version: ====================================================================
+//===== Current Version: =====================================
//= 1.0
-//===== Compatible With: ====================================================================
-//= Any rAthena, that has 'setbattleflag' function
-//===== Description: ========================================================================
+//===== Compatible With: =====================================
+//= rAthena SVN
+//===== 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%
-//===== Comments and Credits ================================================================
+//= It also doesn't affect CARD drops, because they are just 0.01%
+//===== Additional Comments: =================================
//= You can make incredible scripts with 'setbattleflag'!
-//===========================================================================================
+//============================================================
-
-prontera,3,4,5 script FloatingRates -1,{
- end;
+- script FloatingRates -1,{
OnInit:
-
//add any other HOURS
OnHour00:
OnHour06:
@@ -40,7 +37,7 @@ OnHour18:
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;
}