summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-09-07 17:40:46 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-09-07 17:40:46 +0000
commit8cf58f2846e8a701fe61a149c5bf532732572780 (patch)
tree6492a544f57cffc01af8cd22a0e96dfbc1fe020a /src/map/battle.c
parent79f357bf323dbd91529bafe78160149851902377 (diff)
downloadhercules-8cf58f2846e8a701fe61a149c5bf532732572780.tar.gz
hercules-8cf58f2846e8a701fe61a149c5bf532732572780.tar.bz2
hercules-8cf58f2846e8a701fe61a149c5bf532732572780.tar.xz
hercules-8cf58f2846e8a701fe61a149c5bf532732572780.zip
- Removed the Warmth "stacking" code.
- Added back the effect of /doridori to skill-SP regen - Implemented a rough version of Angel of the Sun/Moon/Stars, it has a low chance of triggering on doridori-boosted SP-regen events. - Added sg_angel_skill_ratio to specify rate at which the Angel skill triggers. - Added unit_cancel_combo which takes care of ending a combo time and resuming normal attack 'inmediately' - Cleaned up some the SG_HATE code, you can't change hate targets anymore. - Increased duration of Miracle of the Sun/Moon/Stars to one hour. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8664 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index 75d48532e..a8aa4e988 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -3753,7 +3753,8 @@ static const struct battle_data_short {
{ "mob_luk_status_def", &battle_config.mob_luk_sc_def },
{ "pc_max_status_def", &battle_config.pc_max_sc_def },
{ "mob_max_status_def", &battle_config.mob_max_sc_def },
- { "sg_miracle_skill_ratio", &battle_config.sg_miracle_skill_ratio },
+ { "sg_miracle_skill_ratio", &battle_config.sg_miracle_skill_ratio },
+ { "sg_angel_skill_ratio", &battle_config.sg_angel_skill_ratio },
{ "autospell_stacking", &battle_config.autospell_stacking },
{ "override_mob_names", &battle_config.override_mob_names },
{ "min_chat_delay", &battle_config.min_chat_delay },
@@ -4189,6 +4190,7 @@ void battle_set_defaults() {
battle_config.pc_max_sc_def = 10000;
battle_config.mob_max_sc_def = 5000;
battle_config.sg_miracle_skill_ratio=1;
+ battle_config.sg_angel_skill_ratio=1;
battle_config.sg_miracle_skill_duration=600000;
battle_config.autospell_stacking = 0;
battle_config.override_mob_names = 0;