diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-04-23 19:08:34 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-04-23 19:08:34 +0000 |
commit | 1fc61a4c982792d5d8b82568d5b8b93db267bc24 (patch) | |
tree | f285adbee49dc69597cb5177bd193ce7f31becf1 /src/map/battle.c | |
parent | e2ccee4d1aba838b8fc42a2c658a689b161751b1 (diff) | |
download | hercules-1fc61a4c982792d5d8b82568d5b8b93db267bc24.tar.gz hercules-1fc61a4c982792d5d8b82568d5b8b93db267bc24.tar.bz2 hercules-1fc61a4c982792d5d8b82568d5b8b93db267bc24.tar.xz hercules-1fc61a4c982792d5d8b82568d5b8b93db267bc24.zip |
- Updated the skill_db, some mob skills seem to be better to a range of -9 than 9.
- Corrected the pet_db information for Xmas Goblin and Rice Cake.
- Replaced all struct map_session_data to TBL_PC in script.c
- Pressure no longer vaporizes plants.
- Corrected pc_setregstr to handle a null str argument.
- Corrected @reloadbattleconf causing a add_timer_func "already existing function" error.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10326 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r-- | src/map/battle.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/map/battle.c b/src/map/battle.c index 59969422f..60fdc0a3b 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -2637,7 +2637,7 @@ struct Damage battle_calc_misc_attack( if(md.damage < 0) md.damage = 0; - else if(md.damage && tstatus->mode&MD_PLANT && skill_num != PA_PRESSURE) //Pressure can vaporize plants + else if(md.damage && tstatus->mode&MD_PLANT) md.damage = 1; if(!(nk&NK_NO_ELEFIX)) @@ -4324,16 +4324,15 @@ int battle_config_read(const char *cfgName) } fclose(fp); - if (--count == 0) { + if (--count == 0) battle_validate_conf(); - add_timer_func_list(battle_delay_damage_sub, "battle_delay_damage_sub"); - } return 0; } void do_init_battle(void) { delay_damage_ers = ers_new(sizeof(struct delay_damage)); + add_timer_func_list(battle_delay_damage_sub, "battle_delay_damage_sub"); } void do_final_battle(void) { |