Issue information

Issue ID
#4081
Status
Unable to Reproduce
Severity
None
Started
Hercules Elf Bot
Mar 1, 2010 23:38
Last Post
Hercules Elf Bot
Jun 23, 2012 9:29
Confirmation
N/A

Hercules Elf Bot - Mar 1, 2010 23:38

Originally posted by [b]rootVNET[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=4081

When i use #job charname JobID & have set gm_all_skill at gm.conf & my gm level is higher or equals gm_all_skill

then look at atcommand.c

CODE
if( strcmpi("adjgmlvl",command+1) && ssd ) ssd->gmlevel = lv;


gmlevel adjusted to gm char level used char command

and then look at pc.c

first at

CODE
int pc_isGM(struct map_session_data* sd)
{
    return sd->gmlevel;
}



after that look at

CODE
int pc_calc_skilltree(struct map_session_data *sd)
......

if( battle_config.gm_allskill > 0 && pc_isGM(sd) >= battle_config.gm_allskill )


sd->gmlevel already adjusted!!!!

mb try to add something as sd->gmlevelold ?

This post has been edited by rootVNET: Mar 1 2010, 03:41 PM

Hercules Elf Bot - Dec 20, 2011 3:57

Originally posted by [b]Ind[/b]
that's not how it works oo; -- i wasn't able to reproduce either.