Jump to content
TrinityCore

How to change mob hostility


Dewm
 Share

Recommended Posts

I was wandering around with a new character and noticed that all of the mobs were neutral and I didn't remember them being neutral so I found this thread

But then I wondered how to change an npc from neutral to hostile and I couldn't really find a clear answer. Could someone help explain which data I need to change?

Link to comment
Share on other sites

22 hours ago, jerbookins said:

I was wandering around with a new character and noticed that all of the mobs were neutral and I didn't remember them being neutral so I found this thread

But then I wondered how to change an npc from neutral to hostile and I couldn't really find a clear answer. Could someone help explain which data I need to change?

You have to change the faction field in creature_template. The correct is that you use the correct faction value but if you dont know it you can use the standar values:

16 or 14 is hostile with alliance and horde

84 alliance friendly,horde hostile

83 horde friendly,alliance hostile

7 neutral

35 friendly for both

  • Upvote 1
Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...