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:
parent
4ce86275af
commit
1f7f269eea
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user