Jump to content
  • 0
sprdosat

Latest version of rAthena

Question

6 answers to this question

Recommended Posts

  • 0
On 4/30/2019 at 11:44 PM, Dev G Inc said:

Please indicate how it was solved.

Thanks!

Edit and change your npc script that using UNITTYPE to BL.

Example 1: 

getmapxy([email protected]$,[email protected],[email protected],UNITTYPE_NPC,strnpcinfo(0)); to getmapxy([email protected]$,[email protected],[email protected],BL_NPC,strnpcinfo(0));

Example 2:

getmapxy([email protected]$,[email protected],[email protected],UNITTYPE_PC,strnpcinfo(0)); to getmapxy([email protected]$,[email protected],[email protected],BL_PC,strnpcinfo(0));

 

BL_PC - Character object (default)

BL_NPC - NPC object

BL_PET - Pet object

BL_HOM - Homunculus object

BL_MER - Mercenary object

BL_ELEM - Elemental object

  • Upvote 1
Link to comment
Share on other sites

  • 0
prontera,148,196,4	script	arvoredavida	14591,{
	end;
	
OnInit:
OnTimer3000:
	initnpctimer;
	getmapxy([email protected]$,[email protected],[email protected],BL_NPC,strnpcinfo(0));
	areapercentheal [email protected]$,[email protected],[email protected],[email protected]+5,[email protected]+5,20,20;
	end;
}

 

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

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.