Jump to content
  • 0
lionellex

Gym Pass

Question

4 answers to this question

Recommended Posts

  • 0

Hi buddy!

If you see this line:

		if (gympassmemory < 10) {
			set [email protected]_carry,gympassmemory + 1;
			set [email protected]_carry,10 - [email protected]_carry;

And this one:

				skill "ALL_INCCARRY",[email protected]_carry,0;

You can see that the limit of the level of the Passive Skill ALL INCCARRY it's in the line 35, so you just change that number 10 in the line like this:

		if (gympassmemory < 5) {
			set [email protected]_carry,gympassmemory + 1;
			set [email protected]_carry,5 - [email protected]_carry;
			if (countitem(7776) > 0) {

The variable [email protected]_carry it's warning the player how much he can still use the service.

 

Good luck

Edited by Fratini
Link to comment
Share on other sites

  • 0

Hi buddy!

If you see this line:

		if (gympassmemory < 10) {
			set [email protected]_carry,gympassmemory + 1;
			set [email protected]_carry,10 - [email protected]_carry;

And this one:

				skill "ALL_INCCARRY",[email protected]_carry,0;

You can see that the limit of the level of the Passive Skill ALL INCCARRY it's in the line 35, so you just change that number 10 in the line like this:

		if (gympassmemory < 5) {
			set [email protected]_carry,gympassmemory + 1;
			set [email protected]_carry,5 - [email protected]_carry;
			if (countitem(7776) > 0) {

The variable [email protected]_carry it's warning the player how much he can still use the service.

 

Good luck

Thank you for replying, but i just wanna make sure, on line 63 "skill "ALL_INCCARRY",[email protected]_carry,SKILL_PERM_GRANT;" I have to change it to "skill "ALL_INCCARRY",[email protected]_carry,0;" ?

Edited by lionellex
Link to comment
Share on other sites

  • 0

You don't need to, since the 0 shows to the server that the skill given it's permanent (Check the line 5389 in doc/script_command.txt)

  • Upvote 1
Link to comment
Share on other sites

  • 0

You don't need to, since the 0 shows to the server that the skill given it's permanent (Check the line 5389 in doc/script_command.txt)

Thank you for replying! Everything is done now. Thanks again.

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...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.