Jump to content
  • 0

Latest version of rAthena


Question

6 answers to this question

Recommended Posts

  • 0
Posted
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(.@map$,.@x,.@y,UNITTYPE_NPC,strnpcinfo(0)); to getmapxy(.@map$,.@x,.@y,BL_NPC,strnpcinfo(0));

Example 2:

getmapxy(.@map$,.@x,.@y,UNITTYPE_PC,strnpcinfo(0)); to getmapxy(.@map$,.@x,.@y,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
  • 0
Posted
prontera,148,196,4	script	arvoredavida	14591,{
	end;
	
OnInit:
OnTimer3000:
	initnpctimer;
	getmapxy(.@map$,.@x,.@y,BL_NPC,strnpcinfo(0));
	areapercentheal .@map$,.@x-5,.@y-5,.@x+5,.@y+5,20,20;
	end;
}

 

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...