Updated NPCAggro (markdown)

Paul Coene
2018-08-13 09:53:13 -04:00
parent ba8c5caa2b
commit 2ec116f424
+1 -1
@@ -2,7 +2,7 @@
Lets create a new faction. For this example, the NPCs on this faction will be KOS to all PCs except Erudites, whom they will con amiable. These NPCs will also attack other NPCs whom primary faction is Heretic. If anyone kills these NPCs, we will have them lose 10 points of faction with their faction (the new one we're creating) and gain 5 points with Heretic. Lets create a new faction. For this example, the NPCs on this faction will be KOS to all PCs except Erudites, whom they will con amiable. These NPCs will also attack other NPCs whom primary faction is Heretic. If anyone kills these NPCs, we will have them lose 10 points of faction with their faction (the new one we're creating) and gain 5 points with Heretic.
1. Create the new base faction to [faction_list](https://github.com/EQEmu/Server/wiki/faction_list). 1. Create the new base faction to [faction_list](https://github.com/EQEmu/Server/wiki/faction_list).<br>
Create a new entry in faction_list. Since we want them to start out KOS to everyone except Erudites, set their base value to -100. Create a new entry in faction_list. Since we want them to start out KOS to everyone except Erudites, set their base value to -100.
2. Create the new [npc_faction](https://github.com/EQEmu/Server/wiki/npc_faction). 2. Create the new [npc_faction](https://github.com/EQEmu/Server/wiki/npc_faction).
3. Create new [faction_list_mod](https://github.com/EQEmu/Server/wiki/faction_list_mod) entries to account for the Erudite loving aspect. 3. Create new [faction_list_mod](https://github.com/EQEmu/Server/wiki/faction_list_mod) entries to account for the Erudite loving aspect.