* Fixed monster level not getting updated in monster name (option 'show_mob_info'), when a monster levels up (option 'mobs_level_up') (follow up to r8644, related r187).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14662 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
ai4rei 2011-01-10 10:17:52 +00:00
parent 4cd68d40e1
commit 5a2da0f184
2 changed files with 6 additions and 0 deletions

View File

@ -1,6 +1,7 @@
Date Added Date Added
2011/01/10 2011/01/10
* Fixed monster level not getting updated in monster name (option 'show_mob_info'), when a monster levels up (option 'mobs_level_up') (follow up to r8644, related r187). [Ai4rei]
* Made script command 'charisalpha' always return 1 when 'isaplha' is true, rather than to return the return value of 'isalpha' which is only defined as zero/non-zero and can be different from 1 (bugreport:2024, related r2003). [Ai4rei] * Made script command 'charisalpha' always return 1 when 'isaplha' is true, rather than to return the return value of 'isalpha' which is only defined as zero/non-zero and can be different from 1 (bugreport:2024, related r2003). [Ai4rei]
2011/01/09 2011/01/09
* Fixed packet_len entry for packet 0x289 (ZC_PC_CASH_POINT_UPDATE) not matching the actual size used in clif_cashshop_ack (bugreport:4701, since r14639, follow up to r12264). [Ai4rei] * Fixed packet_len entry for packet 0x289 (ZC_PC_CASH_POINT_UPDATE) not matching the actual size used in clif_cashshop_ack (bugreport:4701, since r14639, follow up to r12264). [Ai4rei]

View File

@ -5710,6 +5710,11 @@ int pc_dead(struct map_session_data *sd,struct block_list *src)
md->level++; md->level++;
status_calc_mob(md, 0); status_calc_mob(md, 0);
status_percent_heal(src,10,0); status_percent_heal(src,10,0);
if( battle_config.show_mob_info&4 )
{// update name with new level
clif_charnameack(0, &md->bl);
}
} }
src = battle_get_master(src); // Maybe Player Summon src = battle_get_master(src); // Maybe Player Summon
} }