Updated NPCAggro (markdown)

Paul Coene
2018-08-13 09:55:13 -04:00
parent 38886f3e84
commit 2961d024e5
+2 -1
@@ -3,7 +3,8 @@
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).<br> 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 -1000. See table below: Create a new entry in faction_list. Since we want them to start out KOS to everyone except Erudites, set their base value to -1000. See table below:<br>
|Faction Value|Faction CON| |Faction Value|Faction CON|
|-------------------|-----------| |-------------------|-----------|
|1101 -> ABOVE |ALLY| |1101 -> ABOVE |ALLY|