Jump to content
  • 0

@request player like a npc


PapaZola

Question


  • Group:  Members
  • Topic Count:  318
  • Topics Per Day:  0.07
  • Content Count:  925
  • Reputation:   32
  • Joined:  12/05/11
  • Last Seen:  

hello all

anyone can make me npc like this?

or anyone have a mirror this script

thx

http://www.eathena.ws/board/Player-like-NPC-t207284.html

Link to comment
Share on other sites

12 answers to this question

Recommended Posts


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

something like this ???

prontera,155,181,5 script Sample 992,{
OnHeal:
percentheal 100,100;
end;
OnBuffs:
percentheal 100,100;
skilleffect 34,0; sc_start SC_BLESSING,360000,10;
skilleffect 29,0; sc_start SC_INCREASEAGI,360000,10;
end;
OnLink:
switch ( basejob ) {
 case Job_Alchemist:	set .@spirit, 445; break;
 case Job_Monk:	 set .@spirit, 447; break;
 case Job_Star_Gladiator:  set .@spirit, 448; break;
 case Job_Sage:	 set .@spirit, 449; break;
 case Job_Crusader:	set .@spirit, 450; break;
 case Job_SuperNovice:   set .@spirit, 451; break;
 case Job_Knight:	set .@spirit, 452; break;
 case Job_Wizard:	set .@spirit, 453; break;
 case Job_Priest:	set .@spirit, 454; break;
 case Job_Bard: case Job_Dancer: set .@spirit, 455; break;
 case Job_Rogue:	 set .@spirit, 456; break;
 case Job_Assassin:	set .@spirit, 457; break;
 case Job_Blacksmith:   set .@spirit, 458; break;
 case Job_Hunter:	set .@spirit, 460; break;
 case Job_Soul_Linker:   set .@spirit, 461; break;
 default:
  if ( upper == 1 && baselevel < 70 )
set .@spirit, 494;
}
if ( .@spirit ) {
 sc_start4 sc_spirit, 360000, 5, .@spirit,0,0;
 skilleffect .@spirit, 5;
}
end;
OnInit:
defpattern 1, "heal","OnHeal";
defpattern 1, "buff","OnBuffs";
defpattern 1, "link","OnLink";
activatepset 1;
end;
}


heal = Heal HP / SP
buff  = Supportive Skills Buff
link  = Soul Linking

Edited by Emistry
  • Upvote 3
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  318
  • Topics Per Day:  0.07
  • Content Count:  925
  • Reputation:   32
  • Joined:  12/05/11
  • Last Seen:  

thx sir emistry

its work

this for all link?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  56
  • Reputation:   8
  • Joined:  11/10/11
  • Last Seen:  

oh my god finally someone released a link script! thank you...

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  318
  • Topics Per Day:  0.07
  • Content Count:  925
  • Reputation:   32
  • Joined:  12/05/11
  • Last Seen:  

yeah

thx to sir emistry

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  64
  • Topics Per Day:  0.01
  • Content Count:  186
  • Reputation:   0
  • Joined:  04/07/12
  • Last Seen:  

Why it doesn't work on me?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  275
  • Reputation:   7
  • Joined:  10/08/12
  • Last Seen:  

yeah me too...i already added few npcs b4 this...i added it, resetted the server, played the server but i cant seem to find the npc at its supposed coordinates or it ddnt exist at all at prontera...

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  275
  • Reputation:   7
  • Joined:  10/08/12
  • Last Seen:  

check the tab between words...i solved mine...was just caused by a missing tab..xD

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  37
  • Topics Per Day:  0.01
  • Content Count:  209
  • Reputation:   3
  • Joined:  11/28/11
  • Last Seen:  

i already try said "heal" but why this npc not give heal for me?

Link to comment
Share on other sites


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

@ryokomvp

make sure you have PCRE enabled..

beside...please alway refer to your map server when any npcs are not working...there should be some useful message for you to debug it...

refer PCRE

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  37
  • Topics Per Day:  0.01
  • Content Count:  209
  • Reputation:   3
  • Joined:  11/28/11
  • Last Seen:  

@ryokomvp

make sure you have PCRE enabled..

beside...please alway refer to your map server when any npcs are not working...there should be some useful message for you to debug it...

refer PCRE

yes i know about PCRE , i already install it...it's work for buff and link . only heal the npc dont do anything...

i already install PCRE because my disguise need it too~ there is no debug i think..because link and buff work~ only heal not work

Link to comment
Share on other sites


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

show your script...we dont know how you edited the script..

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  37
  • Topics Per Day:  0.01
  • Content Count:  209
  • Reputation:   3
  • Joined:  11/28/11
  • Last Seen:  

prontera,214,187,5    script    Sample    992,{
OnHeal:
percentheal 100,100;
end;
OnBuffs:
percentheal 100,100;
skilleffect 34,0; sc_start SC_BLESSING,360000,10;
skilleffect 29,0; sc_start SC_INCREASEAGI,360000,10;
end;
OnLink:
switch ( basejob ) {
 case Job_Alchemist:    set .@spirit, 445; break;
 case Job_Monk:     set .@spirit, 447; break;
 case Job_Star_Gladiator:  set .@spirit, 448; break;
 case Job_Sage:     set .@spirit, 449; break;
 case Job_Crusader:    set .@spirit, 450; break;
 case Job_SuperNovice:   set .@spirit, 451; break;
 case Job_Knight:    set .@spirit, 452; break;
 case Job_Wizard:    set .@spirit, 453; break;
 case Job_Priest:    set .@spirit, 454; break;
 case Job_Bard: case Job_Dancer: set .@spirit, 455; break;
 case Job_Rogue:     set .@spirit, 456; break;
 case Job_Assassin:    set .@spirit, 457; break;
 case Job_Blacksmith:   set .@spirit, 458; break;
 case Job_Hunter:    set .@spirit, 460; break;
 case Job_Soul_Linker:   set .@spirit, 461; break;
 default:
  if ( upper == 1 && baselevel < 70 )
   set .@spirit, 494;
}
if ( .@spirit ) {
 sc_start4 sc_spirit, 360000, 5, .@spirit,0,0;
 skilleffect .@spirit, 5;
}
end;
OnInit:
defpattern 1, "heal","OnHeal";
defpattern 1, "buff","OnBuffs";
defpattern 1, "link","OnLink";
activatepset 1;
end;
}

i dont edit anything~ btw ... can u make this script only work if thats people ( player ) have TCG card ? if not this NPC will Not Respect

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