diff options
author | Komurka <Komurka@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-02-18 13:16:21 +0000 |
---|---|---|
committer | Komurka <Komurka@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-02-18 13:16:21 +0000 |
commit | 05f88e6753ee38eb54be04bece08ad7b1a8382fd (patch) | |
tree | 7c1dfa31ec01f218c68213bb9a5fd5b358e77e10 /src/map/battle.h | |
parent | b59572d87acb01a6d813b83e6eb7bbe15759858a (diff) | |
download | hercules-05f88e6753ee38eb54be04bece08ad7b1a8382fd.tar.gz hercules-05f88e6753ee38eb54be04bece08ad7b1a8382fd.tar.bz2 hercules-05f88e6753ee38eb54be04bece08ad7b1a8382fd.tar.xz hercules-05f88e6753ee38eb54be04bece08ad7b1a8382fd.zip |
* Implemented SG_MIRACLE (Miracle of the Sun, Moon and Stars)
- duration is stored in battle_config.sg_miracle_skill_duration (currently it's set to 10 minutes)
- ratio is stored in battle_config.sg_miracle_skill_ratio (currently it's set to 0.01% chance per character move)
- this skill enables you usage of all Warmth skills, Comfort skills, and also
all mobs will be target of the Stars regardless of the day and map
- you'll see message "[Miracle of the Sun, Moon and Stars]" when skill kicks in
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5323 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.h')
-rw-r--r-- | src/map/battle.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/battle.h b/src/map/battle.h index 92828223e..09eddf294 100644 --- a/src/map/battle.h +++ b/src/map/battle.h @@ -427,6 +427,9 @@ extern struct Battle_Config { unsigned short pc_max_sc_def;
unsigned short mob_max_sc_def;
+ unsigned short sg_miracle_skill_ratio;
+ int sg_miracle_skill_duration;
+
} battle_config;
void do_init_battle(void);
|