Jump to content

KingiRemz

Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by KingiRemz

  1. Hi i keep keeping an a annoying error.

    Quote

    [Error]: npc_parsesrcfile: Unknown syntax in file 'npc/remz/setfunctions.txt', line '59'. Stopping...
     * w1=else if(BaseClass == Job_Clown || BaseClass == Job_Gypsy) {
     * w2=
     * w3=
     * w4=
     

     

    Heres the code:

    function	script	BDEX	{
      bonus bDex,7;
      bonus bAgi,6;
      bonus bMdef,5;
      bonus bDef,5;
      bonus bLongAtkRate,5;
      bonus bMaxSPrate,3;
    if(BaseClass==Job_Hunter) {
    	bonus bLongAtkRate,3;
      bonus bMaxSPrate,5;
    }
    else if(BaseClass==Job_Rogue) {
      bonus bMaxHPrate,5;
      bonus bLongAtkRate,2;
      bonus bMaxSPrate,5;
    }
    }
    else if(BaseClass==Job_gunslinger) {
      bonus bMaxHPrate,5;
      bonus bLongAtkRate,2;
      bonus bMaxSPrate,5;
    }
    else if(BaseClass==Job_Clown||BaseClass==Job_Gypsy) {
    bonus bLongAtkRate,3;
    bonus bMaxHPrate,3;
    bonus bMaxSPrate,5;
    end;
    }

     

    Im not even sure why its giving me an error regarding just these two classes.

    all the other are perfectly fine.

     

     

    Thank you in advance!

     

×
×
  • Create New...