mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-10 12:16:36 +00:00
Updated NPCAggro (markdown)
+13
-1
@@ -3,7 +3,19 @@
|
||||
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>
|
||||
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 -1000. See table below:
|
||||
|Faction Value|Faction CON|
|
||||
|-------------------|-----------|
|
||||
|1101 -> ABOVE |ALLY|
|
||||
|701 -> 1100 |WARMLY|
|
||||
|401 -> 700 |KINDLY|
|
||||
|101 -> 400 |AMIABLE|
|
||||
|0 -> 100 |INDIFFERENT|
|
||||
|-100 -> -1 |APPREHENSIVE|
|
||||
|-700 -> -101 |DUBIOUS|
|
||||
|-999 -> -701 |THREATENLY|
|
||||
|-1000 -> BELOW |SCOWLS|
|
||||
|
||||
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.
|
||||
4. Create how the new npc_faction reacts to other NPCS and PCs via [npc_faction_entries](https://github.com/EQEmu/Server/wiki/npc_faction_entries).
|
||||
|
||||
Reference in New Issue
Block a user