Jump to content
  • 0

How to spawn not agressive mobs?


Question

3 answers to this question

Recommended Posts

  • 1
Posted
.@total = 10;
monster "prontera",0,0,"Quest Poring",1002,.@total,"NPCNAME::OnPoringKilled";

copyarray .@mob_gid, $@mobid, .@total;
for (.@i = 0; .@i < .@total; .@i++) {
	getunitdata .@mob_gid[.@i], .@array;
	if (.@array[UMOB_MODE] & MD_AGGRESSIVE)
		setunitdata .@mob_gid[.@i], UMOB_MODE, (.@array[UMOB_MODE] - MD_AGGRESSIVE);
}

 

  • Upvote 2

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