Update Factions authored by SharkGirl kunjang's avatar SharkGirl kunjang
......@@ -33,6 +33,8 @@ AI Goals, Targets, and Factions
change the AI on these may even crash your server, so be wary and
use test environments!**
***
<!-- -->
DecayingSkeleton:
......@@ -54,7 +56,7 @@ AI Goals, Targets, and Factions
- This example shows how the Skeleton AI generally works for
attacking. (minus all the fluff, such as randomly walking around).
现在守卫将锁定其它阵营的任何实体为目标并会在受伤后锁定攻击者为目标 (这将包括攻击它的玩家),同时在走向目标时会打开面前的门.
<!-- -->
* The **AIGoalSelectors** section tells the Skeleton Mob to use the **arrowattack** action when it is going about its day to day goals.
......@@ -62,6 +64,8 @@ AI Goals, Targets, and Factions
* As you see **clear** is always first, which in this case wipes the mobs AI so you have a clean slate to work with. This is important otherwise your AI may not function the way you would expect.
* Now lets say we want the skeleton to attack other mobs instead and we want him to use a melee attack instead of a ranged attack. See below for how we accomplish this.
***
DecayingSkeleton:
Mobtype: skeleton
Display: '&aa decaying skeleton'
......@@ -100,6 +104,8 @@ AI Goals, Targets, and Factions
configuration for two common scenarios you may wish to implement on
your server.
***
Example 1: Guards attack nearby monsters
----------------------------------------
......
......