Issue information

Issue ID
#1331
Status
Fixed
Severity
None
Started
Hercules Elf Bot
Apr 7, 2008 19:59
Last Post
Hercules Elf Bot
Apr 19, 2012 18:07
Confirmation
N/A

Hercules Elf Bot - Apr 7, 2008 19:59

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

CODE
// Will certain skill status-changes be removed on logout?
// This mimics official servers, where Extremity Fist's no SP regen,
// Strip Equipment, and some other buffs are removed when you logout. Setting is:
// 0 = remove nothing.
// 1 = remove negative buffs (stripping, EF)
// 2 = remove positive buffs (maximize power, steel body...)
// 3 = remove both negative and positive buffs.
debuff_on_logout: 0


Even though the value is set to 0, Divest is still disappearing on logout.

Even trying to comment out the source still fails.

CODE
            if (battle_config.debuff_on_logout&1) {
                if(sd->sc.data[SC_ORCISH].timer!=-1)
                    status_change_end(bl,SC_ORCISH,-1);
                if(sd->sc.data[SC_STRIPWEAPON].timer!=-1)
                    status_change_end(bl,SC_STRIPWEAPON,-1);
                if(sd->sc.data[SC_STRIPARMOR].timer!=-1)
                    status_change_end(bl,SC_STRIPARMOR,-1);
                if(sd->sc.data[SC_STRIPSHIELD].timer!=-1)
                    status_change_end(bl,SC_STRIPSHIELD,-1);
                if(sd->sc.data[SC_STRIPHELM].timer!=-1)
                    status_change_end(bl,SC_STRIPHELM,-1);
                if(sd->sc.data[SC_EXTREMITYFIST].timer!=-1)
                    status_change_end(bl,SC_EXTREMITYFIST,-1);
                if(sd->sc.data[SC_EXPLOSIONSPIRITS].timer!=-1)
                    status_change_end(bl,SC_EXPLOSIONSPIRITS,-1);
                if(sd->sc.data[SC_REGENERATION].timer!=-1 && sd->sc.data[SC_REGENERATION].val4)
                    status_change_end(bl,SC_REGENERATION,-1);
            }
            if (battle_config.debuff_on_logout&2)
            {
                if(sd->sc.data[SC_MAXIMIZEPOWER].timer!=-1)
                    status_change_end(bl,SC_MAXIMIZEPOWER,-1);
                if(sd->sc.data[SC_MAXOVERTHRUST].timer!=-1)
                    status_change_end(bl,SC_MAXOVERTHRUST,-1);
                if(sd->sc.data[SC_STEELBODY].timer!=-1)
                    status_change_end(bl,SC_STEELBODY,-1);
            }


Is there another location that it is being removed or something I am missing?

Hercules Elf Bot - Jan 24, 2012 16:44

Originally posted by [b]Gepard[/b]
Fixed in [rev=15513].