Jump to content
  • 0

Max Level NPC Prize Giver || For Trans Classes including Ninja Guns SG


AinsLord

Question


  • Group:  Members
  • Topic Count:  257
  • Topics Per Day:  0.08
  • Content Count:  737
  • Reputation:   18
  • Joined:  11/21/15
  • Last Seen:  

I've tried to search here but it seems i can't find anything for the NPC

anyone have or has a NPC who gives Exclusive item/s for the Player

who reaches the max cap for Trans Class including Ninja Gunslinger Star Glad and Super Novice

This is 1 character per account base only

Thnx in Advance

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  31
  • Reputation:   11
  • Joined:  07/02/12
  • Last Seen:  

prontera,129,165,4	script	Test NPC#tst	100,{
	if( !#lvl_rwrd ) {
		if( (Class >= Job_Lord_Knight && Class <= Job_Paladin2) && BaseLevel == .max_blvl && JobLevel == .max_jlvl_t ) {
			for( .@i=0; .@i<getarraysize(.rwrd); .@i+=2 )
				getitem .rwrd[.@i], .rwrd[.@i+1];
			set #lvl_rwrd, 1;
			end;
		}
		
		if( (Class == Job_Ninja || Class == Job_Gunslinger || 
			(Class >= Job_Star_Gladiator && Class <= Job_Soul_Linker)) &&
			BaseLevel == .max_blvl && JobLevel == .max_jlvl_x ) {
			for( .@i=0; .@i<getarraysize(.rwrd); .@i+=2 )
				getitem .rwrd[.@i], .rwrd[.@i+1];
			set #lvl_rwrd, 1;
			end;
		}
	} else {
		mes "You have already received your reward.";
		end;
	}
	
	OnInit:
		/* Just a note : variable #lvl_rwrd will be used in checking if the player already claimed their reward.
		 You can change it to character-based by removing the prefix # of the variable. */
		setarray .rwrd[0], 501, 10, 502, 10;		// Syntax : setarray .rwrd[0],<itm_id>, <amt>{, <itm_id>, <amt>, ...}
		set .max_blvl, 99;							// Max Level of server
		set .max_jlvl_t, 70;						// Max Job Level for Trans Class
		set .max_jlvl_x, 50;						// Max Job Level for Extended Class
		end;
}

 

  • Upvote 1
  • MVP 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  257
  • Topics Per Day:  0.08
  • Content Count:  737
  • Reputation:   18
  • Joined:  11/21/15
  • Last Seen:  

@fTakanois this for all character class??

 

ill test this one out thnx ^_^

Edited by AinsLord
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  257
  • Topics Per Day:  0.08
  • Content Count:  737
  • Reputation:   18
  • Joined:  11/21/15
  • Last Seen:  

On 9/6/2018 at 7:09 AM, fTakano said:

prontera,129,165,4	script	Test NPC#tst	100,{
	if( !#lvl_rwrd ) {
		if( (Class >= Job_Lord_Knight && Class <= Job_Paladin2) && BaseLevel == .max_blvl && JobLevel == .max_jlvl_t ) {
			for( .@i=0; .@i<getarraysize(.rwrd); .@i+=2 )
				getitem .rwrd[.@i], .rwrd[.@i+1];
			set #lvl_rwrd, 1;
			end;
		}
		
		if( (Class == Job_Ninja || Class == Job_Gunslinger || 
			(Class >= Job_Star_Gladiator && Class <= Job_Soul_Linker)) &&
			BaseLevel == .max_blvl && JobLevel == .max_jlvl_x ) {
			for( .@i=0; .@i<getarraysize(.rwrd); .@i+=2 )
				getitem .rwrd[.@i], .rwrd[.@i+1];
			set #lvl_rwrd, 1;
			end;
		}
	} else {
		mes "You have already received your reward.";
		end;
	}
	
	OnInit:
		/* Just a note : variable #lvl_rwrd will be used in checking if the player already claimed their reward.
		 You can change it to character-based by removing the prefix # of the variable. */
		setarray .rwrd[0], 501, 10, 502, 10;		// Syntax : setarray .rwrd[0],<itm_id>, <amt>{, <itm_id>, <amt>, ...}
		set .max_blvl, 99;							// Max Level of server
		set .max_jlvl_t, 70;						// Max Job Level for Trans Class
		set .max_jlvl_x, 50;						// Max Job Level for Extended Class
		end;
}

 

can this be for the 1st 50 players who reached max lvl??

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  31
  • Reputation:   11
  • Joined:  07/02/12
  • Last Seen:  

prontera,129,165,4	script	Test NPC#tst	100,{
    if( $lvl_rwrd_cnt < 50 ) {
      if( !#lvl_rwrd ) {
          if( (Class >= Job_Lord_Knight && Class <= Job_Paladin2) && BaseLevel == .max_blvl && JobLevel == .max_jlvl_t ) {
              for( .@i=0; .@i<getarraysize(.rwrd); .@i+=2 )
                  getitem .rwrd[.@i], .rwrd[.@i+1];
              set #lvl_rwrd, 1;
              set $lvl_rwrd_cnt, $lvl_rwrd_cnt;
              end;
          }

          if( (Class == Job_Ninja || Class == Job_Gunslinger || 
              (Class >= Job_Star_Gladiator && Class <= Job_Soul_Linker)) &&
              BaseLevel == .max_blvl && JobLevel == .max_jlvl_x ) {
              for( .@i=0; .@i<getarraysize(.rwrd); .@i+=2 )
                  getitem .rwrd[.@i], .rwrd[.@i+1];
              set #lvl_rwrd, 1;
              set $lvl_rwrd_cnt, $lvl_rwrd_cnt;
              end;
          }
      } else {
          mes "You have already received your reward.";
          end;
      }
    } else {
    	mes "Sorry, but the first 50 players who reached their max levels already received their reward.";
        end;
    }
	
	OnInit:
		/* Just a note : variable #lvl_rwrd will be used in checking if the player already claimed their reward.
		 You can change it to character-based by removing the prefix # of the variable. */
		setarray .rwrd[0], 501, 10, 502, 10;		// Syntax : setarray .rwrd[0],<itm_id>, <amt>{, <itm_id>, <amt>, ...}
		set .max_blvl, 99;							// Max Level of server
		set .max_jlvl_t, 70;						// Max Job Level for Trans Class
		set .max_jlvl_x, 50;						// Max Job Level for Extended Class
		end;
}

 

  • Upvote 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...