Jump to content
  • 0

MOBs acting like swarms


Question

Posted

Hello,

 

I would like know if is possible to make any mob act like that green bug on the Prontera Sewer?

 

His comportment is like a swarm, if you atk one, every other bug near will start to attack you!

 

I'm willing this to make some mobs using the player templates, to make an arena, where they will not attack the player if the player doesn't atk first.

 

If possible, can you give me the direction? What file and documents I have to change and learn?

2 answers to this question

Recommended Posts

Posted

MD_ASSIST is probably what you are looking for.

If you look at the mode for Thief Bug Male (1054):

- Aggressive

- Assist

- Detector

- Change Target (Attack)

- Change Target (Chase)

Then looking at the documentation: doc/mob_db_mode_list.txt

MD_AGGRESSIVE | 0x0004 | 4

MD_ASSIST | 0x0008 | 8

MD_DETECTOR | 0x0100 | 256

MD_CHANGETARGET_MELEE | 0x1000 | 4096

MD_CHANGETARGET_CHASE | 0x2000 | 8192

 

Aggressive: normal aggressive mob, will look for a close-by player to attack.

Assist: When a nearby mob of the same class attacks, assist types will join them.

Detector: Enables mob to detect and attack characters who are in hiding/cloak.

Change Target Melee: Enables a mob to switch targets when attacked while

attacking someone else.

Change Target Chase: Enables a mob to switch targets when attacked while

chasing another character.

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