Jump to content
  • 0

Npc Plagiarist skill physical damage taking MISS


Kater

Question


  • Group:  Members
  • Topic Count:  76
  • Topics Per Day:  0.20
  • Content Count:  175
  • Reputation:   2
  • Joined:  04/03/24
  • Last Seen:  

Hi, I have an NPC that I found on the forum that when I use it for physical damage skills, it takes away the miss even though it resets without any attributes.
Do you know how I can solve it?

 

prontera,150,150,6    script    Plagiarist   125,{
if (Class != Job_Rogue && Class != Job_Stalker) {
    mes "You cannot plagiarize!";
    mes "Only ^FF0000Rogues/Stalkers^000000 can use the plagiarist™.";
    close;
}

mes "Hello, ^339966" + strcharinfo(0) + "!!^000000"; 
mes "I am the ^FF0000magic plagiarist for Stalkers^000000"; 
next; 
mes "Let me explain further"; 
mes "I have a list of various spells that can be ^FF0000copied^000000"; 
mes "Just choose a spell, and I will plagiarize it for you."; 
next; 
mes "Which skill do you need to copy?";
    
set .@SkillID, select(implode(.SkillName$, ":")) - 1;
mes "Selected: " + .SkillName$[.@SkillID];

close2;
unitskilluseid(getnpcid(0), .SkillID[.@SkillID], .SkillLv[.@SkillID], getcharid(3));
end;

OnInit:
    setarray .SkillID[0], 62, 254, 251, 79, 263, 14, 19, 20, 90, 84, 89, 537, 540, 89, 83, 536, 534; // Added Asura Strike (272) and Mortal Strike (268)
    setarray .SkillLv[0], 10, 10, 5, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 5, 10;
    setarray .SkillName$[0], "Tyr's Impact", "Crux Magnum", "Shield Boomerang", "Magnus Exorcismus", "Triple Combo", "Ice Spear", "Fire Lance", "Lightning Bolt", "Stone Curse", "Jupiter Thunder", "Lord of Vermilion", "Freezing Spear", "Wind Blade", "Blizzard", "Meteor Storm", "Explosive Dragon", "Flaming Petals"; // Added "Asura Strike" and "Mortal Strike"
end;
}

 

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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