Jump to content
  • 0

Scrip item effect


Sook103

Question


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  36
  • Reputation:   1
  • Joined:  03/31/15
  • Last Seen:  

hey i would like to request an effect that + a specific gear like +7 wepon ticket clicks and choose the wep you want or automatic plus the one you have on.

 

Another script i would like to request is job change ticket also allowing to change job  and leveling your base level and job level.

Link to comment
Share on other sites

5 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  51
  • Topics Per Day:  0.01
  • Content Count:  452
  • Reputation:   33
  • Joined:  12/18/14
  • Last Seen:  

I think you can use callfunc on this one on the item, make it usable and when it does, you call the function you want, for example the auto 99/70 or max level.

 

function	script	jobchange	{

and then you can add the script as follows

if( Class != 0 ){ mes "[ Goddess of War ]"; mes "You are not a novice."; set NPCTalk1, 1; close; }
mes "[Ragnarok Online: ^FF0000 Flames of War^000000]";
mes "I was sent by ^FF0000 Admin Dusk ^000000 to assist you.";
mes "Choose your class and join the war.";
next;
	.@i = select( .Menu$ ) - 1;
	if( select( "Change to "+jobname( .JobList[.@i] )+"?:Cancel" ) == 1 ){
		jobchange .JobList[.@i];
		BaseLevel = .BaseLevel;
		JobLevel = .JobLevel;
		resetskill;
		resetstatus;
		SkillPoint = .SkillPoints;
		mes "[ Goddess of War ]";
		mes "Now to talk to the ^0000FFGoddess of Fortune^000000";
		set TalkNPC1, 1;
		close;
	}
end;

OnInit:
setarray .JobList[0],4008,4009,4010,4011,4012,4013,4015,4016,4017,4018,4019,4020,4021,4046,4047,4049,24,25,23;
.BaseLevel = 99;
.JobLevel = 70;
.SkillPoints = 127; //( 9 + 49 + 69 )
//waitingroom "Job Changer",0;

.@size = getarraysize( .JobList );
for( .@i = 0; .@i < .@size; .@i++ )
	.Menu$ = .Menu$ + jobname( .JobList[.@i] )+":";
end;

}

Now you're set. Just set up an item to make it a consumable or usable item and just add callfunc to it and that should do it.

 

As for the Refine Ticket, you can check out Euphy's. It's the one I'm using and is very well pleased with it. It's a really good script.

 

Forgot to add, you might want to REFUND the ticket if ever the player clicks cancel.

 

Edited by PandaRapesHamster
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  81
  • Topics Per Day:  0.02
  • Content Count:  1654
  • Reputation:   583
  • Joined:  08/09/12
  • Last Seen:  

Are you planning to create a super high rate server?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  36
  • Reputation:   1
  • Joined:  03/31/15
  • Last Seen:  

No i have a mid rate/ high rate server but i would like to have the safe ticket as a donation.

 

The job ticket would be for donation also for players who don't feel like living.

Edited by Sook103
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  36
  • Reputation:   1
  • Joined:  03/31/15
  • Last Seen:  

Thanks Panda

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  51
  • Topics Per Day:  0.01
  • Content Count:  452
  • Reputation:   33
  • Joined:  12/18/14
  • Last Seen:  

I just tested out the script above, it doesn't add any menus to the selection. If someone can correct it, please give me a heads up. Please try to test it out also if it gives you a list of available jobs, because on my end it doesn't give any.

Edited by PandaRapesHamster
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...