Fixed Super Novices mentral strength so that they may ressurect in gvg maps w/o being kicked out. bugreport:1988

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15781 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
shennetsind 2012-03-23 09:46:19 +00:00
parent 4ce86275af
commit 1f7f269eea

View File

@ -6226,8 +6226,7 @@ int pc_dead(struct map_session_data *sd,struct block_list *src)
{ {
unsigned int next = pc_nextbaseexp(sd); unsigned int next = pc_nextbaseexp(sd);
if( next == 0 ) next = pc_thisbaseexp(sd); if( next == 0 ) next = pc_thisbaseexp(sd);
if( get_percentage(sd->status.base_exp,next) >= 99 && !map_flag_gvg(sd->bl.m) ) if( get_percentage(sd->status.base_exp,next) >= 99 ) {
{
sd->state.snovice_dead_flag = 1; sd->state.snovice_dead_flag = 1;
pc_setstand(sd); pc_setstand(sd);
status_percent_heal(&sd->bl, 100, 100); status_percent_heal(&sd->bl, 100, 100);