Jump to content
  • 0

Play Dead skill not sticking despite giving skill.


behelit

Question


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  36
  • Reputation:   0
  • Joined:  07/04/13
  • Last Seen:  

Hello!

I want to give job classes other than novice the "Play Dead" skill... But when I try using a script, the results are always temporary. It will be lost when the user logs off or changes equipment. I've tried the following:

skill 143,1,0;

skill 143,1,3;

But neither seems to make it "stick". How do I permanently give jobs other than novice the Play Dead skill?

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.01
  • Content Count:  398
  • Reputation:   246
  • Joined:  07/04/19
  • Last Seen:  

you have to use

*addtoskill <skill id>,<level>{,<flag>};
*addtoskill "<skill name>",<level>{,<flag>};

These commands will give the invoking character a specified skill. This is also
used for item scripts.

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  36
  • Reputation:   0
  • Joined:  07/04/13
  • Last Seen:  

4 hours ago, BeWan said:

you have to use


*addtoskill <skill id>,<level>{,<flag>};
*addtoskill "<skill name>",<level>{,<flag>};

These commands will give the invoking character a specified skill. This is also
used for item scripts.

 

This does not work. I tried:

addtoskill 143,1,3;
and
addtoskill 143,1,0;

There seems to be no difference between that and the skill command. The Play Dead skill will not stick if not a novice class.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.01
  • Content Count:  398
  • Reputation:   246
  • Joined:  07/04/19
  • Last Seen:  

1 hour ago, behelit said:

This does not work. I tried:

addtoskill 143,1,3;
and
addtoskill 143,1,0;

There seems to be no difference between that and the skill command. The Play Dead skill will not stick if not a novice class.

i tested it and it work sir. you need to put it on onpclogin event

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  36
  • Reputation:   0
  • Joined:  07/04/13
  • Last Seen:  

On 5/27/2021 at 4:19 PM, BeWan said:

i tested it and it work sir. you need to put it on onpclogin event

Well, I tested it and it does not work, sir. If you use normal skills, such as warp portal or greed, it works. If you use play dead, it does not.  Why would I need to use onpclogin for play dead, when I DO NOT for other skills?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.01
  • Content Count:  398
  • Reputation:   246
  • Joined:  07/04/19
  • Last Seen:  

9 hours ago, behelit said:

Well, I tested it and it does not work, sir. If you use normal skills, such as warp portal or greed, it works. If you use play dead, it does not.  Why would I need to use onpclogin for play dead, when I DO NOT for other skills?

i test it and it works. i am just giving you an idea on how to do it. 

Edited by BeWan
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  36
  • Reputation:   0
  • Joined:  07/04/13
  • Last Seen:  

On 5/30/2021 at 4:44 AM, BeWan said:

i test it and it works. i am just giving you an idea on how to do it. 

I'm just curious... How extensively did you test it? Here are the facts:

skill ???,1,3; works on every other skill I've tried. And indeed works on Play Dead... until you logout, change equipment, or change maps. Any of these things will make the skill disappear. You can use something like onpclogin, and Play Dead indeed shows up... until you logout, change equipment, or change maps. Then it's gone. This also tells me it's not a lua issue. There is something, server side, which automatically removes Play Dead from classes other than novice when you logout, change equipment, or change maps. THATS what I'm trying to fix. I want to permanently give  some classes the Play Dead skill, and that simply isn't possible with your solution. Got anything else? ?

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