summaryrefslogtreecommitdiff
path: root/src/map/battle.h
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-02-15 18:56:54 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-02-15 18:56:54 +0000
commitea2ae867ed32cdea9107b446ee7cdfe3a2be6d95 (patch)
tree43aab9b4180d956488810f96da7a003ba6c2d28e /src/map/battle.h
parentaf3903eef455c03277036c972bc8c53e6ddacd28 (diff)
downloadhercules-ea2ae867ed32cdea9107b446ee7cdfe3a2be6d95.tar.gz
hercules-ea2ae867ed32cdea9107b446ee7cdfe3a2be6d95.tar.bz2
hercules-ea2ae867ed32cdea9107b446ee7cdfe3a2be6d95.tar.xz
hercules-ea2ae867ed32cdea9107b446ee7cdfe3a2be6d95.zip
- Made the warm skills BF_WEAPON type so that they may trigger effect cards.
- Also changed their pl to -1 so they carry the elemeso they carry the element. - Warm skills now damage other players for 60sp per hit. - Warm skill damage interval decreased to 100ms instead of 1000ms. - TK_DODGE now only dodges ranged weapon attacks, while under Spurt mode it dodges everything. - Cleaned up and expanded the sc_def_rate battle config. The new battle flags are mob_sc_def_rate, pc_sc_def_rate, mob_max_sc_def, pc_max_sc_def - Modified Marionette Control so that the max bonus stats you get is capped to your server's defined max stats instead of 99. - Mobs are no longer affected by the vs_traps_bctall switch. - Added function pc_damage_sp to damage the SP of players. - Modified Warm skills so that it only hurts SP of players while attacking/knocking back mobs. - Autospell loop breaks after one skill is successful. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5288 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.h')
-rw-r--r--src/map/battle.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/map/battle.h b/src/map/battle.h
index fc4af0788..ba631bdca 100644
--- a/src/map/battle.h
+++ b/src/map/battle.h
@@ -419,7 +419,11 @@ extern struct Battle_Config {
unsigned short cell_stack_limit; // [Skotlex]
unsigned short skill_caster_check; // [Skotlex]
unsigned short sc_castcancel; // [Skotlex]
- unsigned short sc_def_rate; // [Skotlex]
+ unsigned short pc_sc_def_rate; // [Skotlex]
+ unsigned short mob_sc_def_rate;
+ unsigned short pc_max_sc_def;
+ unsigned short mob_max_sc_def;
+
} battle_config;
void do_init_battle(void);