Jump to content
  • 0

npc plagiarist miss skills


IsabelaFernandez

Question


  • Group:  Members
  • Topic Count:  145
  • Topics Per Day:  0.07
  • Content Count:  354
  • Reputation:   8
  • Joined:  04/16/18
  • Last Seen:  

hi everyone, I would like you guys to help me with this script. the last two skills are 368 and 490 (Martyr's and Acid Bomb) neither of which the NPC is using. miss acid bomb, and Martyr doesn't attack.

https://pastebin.com/tWZUjJWp

thanks.

 

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.01
  • Content Count:  19
  • Reputation:   4
  • Joined:  04/18/23
  • Last Seen:  

try adding here:
master/db/skill_copyable_db.txt

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  145
  • Topics Per Day:  0.07
  • Content Count:  354
  • Reputation:   8
  • Joined:  04/16/18
  • Last Seen:  

13 hours ago, xJohn said:

try adding here:
master/db/skill_copyable_db.txt

I don't have this file in .txt lol

Link to comment
Share on other sites

  • 0

  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

 

db/re/skill_db.yml

    CopyFlags:
      Skill:
        Plagiarism: true
        Reproduce: true

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  145
  • Topics Per Day:  0.07
  • Content Count:  354
  • Reputation:   8
  • Joined:  04/16/18
  • Last Seen:  

On 11/18/2023 at 10:51 AM, Emistry said:

 

db/re/skill_db.yml

    CopyFlags:
      Skill:
        Plagiarism: true
        Reproduce: true

 

These options are already active, the problem is that when the plagiarist NPC uses the skill, he just misses

Script:

https://pastebin.com/KVT8wqgZ

Link to comment
Share on other sites

  • 0

  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

use these script command instead.


*plagiarizeskill <skill_id>,<level>;

Enable the player to plagiarize specific skills that are copyable.
Return 1 on success, 0 otherwise.

Note:
 - Plagiarism only able to copy skill while SC_PRESERVE is not active and skill is copyable by Plagiarism.
 - Reproduce can copy skill if SC__REPRODUCE is active and the skill is copyable by Reproduce.

---------------------------------------

*plagiarizeskillreset <flag>;

Remove a plagiarized skill from the player.
Return 1 on success, 0 otherwise.

Flag constants:
	1 - Use for Plagiarism Skill
	2 - Use for Reproduce Skill

 

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