Fixed Ranked Taekwon skill reset bug, bugreport:3230
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15313 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
22fc43dd35
commit
ce627737db
@ -5579,9 +5579,14 @@ int pc_resetskill(struct map_session_data* sd, int flag)
|
|||||||
{
|
{
|
||||||
int i, lv, inf2, skill_point=0;
|
int i, lv, inf2, skill_point=0;
|
||||||
nullpo_ret(sd);
|
nullpo_ret(sd);
|
||||||
|
if( !(flag&2) ) { //Remove stuff lost when resetting skills.
|
||||||
|
|
||||||
|
/**
|
||||||
|
* It has been confirmed on official server that when you reset skills with a ranked tweakwon your skills are not reset (because you have all of them anyway)
|
||||||
|
**/
|
||||||
|
if( (sd->class_&MAPID_UPPERMASK) == MAPID_TAEKWON && sd->status.base_level >= 90 && pc_famerank(sd->status.char_id, MAPID_TAEKWON) )
|
||||||
|
return 0;
|
||||||
|
|
||||||
if( !(flag&2) )
|
|
||||||
{ //Remove stuff lost when resetting skills.
|
|
||||||
if( pc_checkskill(sd, SG_DEVIL) && !pc_nextjobexp(sd) )
|
if( pc_checkskill(sd, SG_DEVIL) && !pc_nextjobexp(sd) )
|
||||||
clif_status_load(&sd->bl, SI_DEVIL, 0); //Remove perma blindness due to skill-reset. [Skotlex]
|
clif_status_load(&sd->bl, SI_DEVIL, 0); //Remove perma blindness due to skill-reset. [Skotlex]
|
||||||
i = sd->sc.option;
|
i = sd->sc.option;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user