diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-03-06 14:37:44 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-03-06 14:37:44 +0000 |
commit | 7ada5312d478e4f56e8829779eb8c977877c99c2 (patch) | |
tree | 107125b7f161e95e1f520072d5a9ecc959dd0ce7 /src/map/battle.c | |
parent | 374f1656a59e2130ed4ee7bb7520ff5dc2bf6b82 (diff) | |
download | hercules-7ada5312d478e4f56e8829779eb8c977877c99c2.tar.gz hercules-7ada5312d478e4f56e8829779eb8c977877c99c2.tar.bz2 hercules-7ada5312d478e4f56e8829779eb8c977877c99c2.tar.xz hercules-7ada5312d478e4f56e8829779eb8c977877c99c2.zip |
- Fixed a debug message showing up on skill castend nodamage id when using a guild skill
- Fixed #save not working on maps not in the current map server.
- Added battle config clear_skills_on_death to decide whether all ground-based skills should be removed when you die. Defaults to yes.
- Changed Magic Crasher's element to -1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5472 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r-- | src/map/battle.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/battle.c b/src/map/battle.c index 79ec8bc68..e2391a2f9 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -3543,6 +3543,7 @@ static const struct battle_data_short { { "player_damage_delay_rate", &battle_config.pc_damage_delay_rate },
{ "defunit_not_enemy", &battle_config.defnotenemy },
{ "gvg_traps_target_all", &battle_config.vs_traps_bctall },
+ { "clear_skills_on_death", &battle_config.clear_unit_ondeath },
{ "random_monster_checklv", &battle_config.random_monster_checklv },
{ "attribute_recover", &battle_config.attr_recover },
{ "flooritem_lifetime", &battle_config.flooritem_lifetime },
@@ -3916,6 +3917,7 @@ void battle_set_defaults() { battle_config.pc_damage_delay_rate=100;
battle_config.defnotenemy=0;
battle_config.vs_traps_bctall=1;
+ battle_config.clear_unit_ondeath=1;
battle_config.random_monster_checklv=1;
battle_config.attr_recover=1;
battle_config.flooritem_lifetime=LIFETIME_FLOORITEM*1000;
|