Jump to content
  • 0

need help to Plagiarism NPC


Quesooo

Question


  • Group:  Members
  • Topic Count:  197
  • Topics Per Day:  0.07
  • Content Count:  883
  • Reputation:   28
  • Joined:  02/13/17
  • Last Seen:  

anyone can help me for this npc ?

 

the problem is when npc cast a skill on the character the npc always miss all skills are missed on the character even the skill lvl is lvl 10 already

also its good if rouge job up to its 3rd job can only use this npc

 

advance thank you for help

btw heres the script credits to owner

ragnarok,35,72,3	script	Copy Cat	4_F_LYDIA,{

mes "Which skill you need me to cast on you ?";
set .@SkillID,select( implode( .SkillName$,":" ) ) - 1;
mes "Selected "+.Skillname$[.@SkillID];
close2;
unitskilluseid getnpcid(0),.SkillID[.@SkillID],.SkillLv[.@SkillID],getcharid(3);
sleep 3000;
movenpc strnpcinfo(0),35,72;
end;

OnInit:
setarray .SkillID[0],2323,2211,2447,2481,2233,2006,2002,2005; // Skills id
setarray .SkillLv[0],10,10,10,10,10,10,10,10; // Skill lvl cast on player
setarray .SkillName$[0],"Earth Drive","Crimson Rock","Diamond Dust","Spore Explosion","Arrow Storm","Ignition Break","Sonic Wave","Wind Cutter"; // Name of skills
end;
}
 

 

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Developer
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  587
  • Reputation:   431
  • Joined:  01/26/16
  • Last Seen:  

Before using skills, NPCs must have basic stats applied to them depending on the
skill being used: UNPC_ATKMIN, UNPC_ATKMAX, UNPC_MATKMIN, UNPC_MATKMAX, UNPC_STR,
UNPC_AGI, UNPC_VIT, UNPC_INT, UNPC_DEX, UNPC_LUK.
See 'setunitdata' for more information on usage.

source: https://github.com/rathena/rathena/blob/master/doc/script_commands.txt#L7889-L7892

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  197
  • Topics Per Day:  0.07
  • Content Count:  883
  • Reputation:   28
  • Joined:  02/13/17
  • Last Seen:  

9 hours ago, Secrets said:

Before using skills, NPCs must have basic stats applied to them depending on the
skill being used: UNPC_ATKMIN, UNPC_ATKMAX, UNPC_MATKMIN, UNPC_MATKMAX, UNPC_STR,
UNPC_AGI, UNPC_VIT, UNPC_INT, UNPC_DEX, UNPC_LUK.
See 'setunitdata' for more information on usage.

source: https://github.com/rathena/rathena/blob/master/doc/script_commands.txt#L7889-L7892

Any example for this? I understand the function but i dont get how to build it

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