Issue information

Issue ID
#1884
Status
Working as Intended
Severity
None
Started
Hercules Elf Bot
Jul 20, 2008 14:04
Last Post
Hercules Elf Bot
Mar 5, 2012 8:47
Confirmation
N/A

Hercules Elf Bot - Jul 20, 2008 14:04

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

Revision: 12946 Stable SQL

this NPC don't work correctly new_1-2,17,182,5 script Helper#nv

if u make all the other npcs u have the baselevel 9 but the npc only checks the baselvl up to 7

CODE
            if (nov_2nd_cos < 1) {
                if (BaseLevel == 1) {
                    set nov_2nd_cos,12;
                    getexp 9,0;
                }
                else if (BaseLevel == 2) {
                    set nov_2nd_cos,13;
                    getexp 16,0;
                }
                else if (BaseLevel == 3) {
                    set nov_2nd_cos,14;
                    getexp 25,0;
                }
                else if (BaseLevel == 4) {
                    set nov_2nd_cos,15;
                    getexp 36,0;
                }
                else if (BaseLevel == 5) {
                    set nov_2nd_cos,16;
                    getexp 77,0;
                }
                else if (BaseLevel == 6) {
                    set nov_2nd_cos,17;
                    getexp 112,0;
                }
                else if (BaseLevel == 7) {
                    set nov_2nd_cos,18;
                    getexp 153,0;
                }


so noone can make the next step if they speak with the npcs before. because of the variable nov_2nd_cos won't be set for the lvl 8 or 9.