summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-23 18:17:30 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-23 18:17:30 +0000
commitdd3b3ddb4332afacd9d25a1d892ca889c82e7730 (patch)
treec8c26de7bd5b816d5c640c8b715755c240dd0428 /src/map/battle.c
parentbd0894e6e31121b4f738fd331c3e6da37d80e5e6 (diff)
downloadhercules-dd3b3ddb4332afacd9d25a1d892ca889c82e7730.tar.gz
hercules-dd3b3ddb4332afacd9d25a1d892ca889c82e7730.tar.bz2
hercules-dd3b3ddb4332afacd9d25a1d892ca889c82e7730.tar.xz
hercules-dd3b3ddb4332afacd9d25a1d892ca889c82e7730.zip
- Modified setting skillrange_by_weapon (skill.conf) to be a per-object-type setting instead of yes/no. The default now is that weapon-based skills will take the attacker's range for non-players.
- Changed the default of skillrange_by_distance to include homunculus. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7844 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index 14e82f792..bbee2fe24 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -3735,8 +3735,8 @@ void battle_set_defaults() {
battle_config.left_cardfix_to_right=0;
battle_config.skill_add_range=0;
battle_config.skill_out_range_consume=1;
- battle_config.skillrange_by_distance=BL_MOB|BL_PET;
- battle_config.use_weapon_skill_range=0;
+ battle_config.skillrange_by_distance=BL_MOB|BL_PET|BL_HOMUNCULUS;
+ battle_config.use_weapon_skill_range=BL_MOB|BL_PET|BL_HOMUNCULUS;
battle_config.pc_damage_delay_rate=100;
battle_config.defnotenemy=0;
battle_config.vs_traps_bctall=BL_PC;