[ Disclaimer, Create new user --- Wiki markup help, Install P99 ]
Difference between revisions of "Flee"
From Project 1999 Wiki
Zosymandias (Talk | contribs) m |
|||
Line 8: | Line 8: | ||
* While [[Root]]ed NPCs always exhibit rooted behavior over flee or fear behavior, and resume such behavior once the root breaks. Though NPCs will fight back against melee players while rooted, this is sometimes preferable in dangerous environments such as densely packed dungeons. | * While [[Root]]ed NPCs always exhibit rooted behavior over flee or fear behavior, and resume such behavior once the root breaks. Though NPCs will fight back against melee players while rooted, this is sometimes preferable in dangerous environments such as densely packed dungeons. | ||
* Pets never flee. Undead enemies usually do not flee. Animals and humanoids usually do. | * Pets never flee. Undead enemies usually do not flee. Animals and humanoids usually do. | ||
+ | * NPCs whose aggro is cleared will immediately cease fleeing, though if they re-aggro they might start fleeing again right away. | ||
+ | * NPCs who are healed or regenerate might not immediately cease fleeing. | ||
+ | * NPCs who are casting will not start fleeing. The check for flee occurs at the next server tick, rather than when they immediately finish casting a spell. If an NPC heals themselves back over the threshold for fleeing, then they won't start fleeing. | ||
==See also== | ==See also== |
Revision as of 14:55, 12 January 2020
Fleeing describes the behavior of most NPCs when they reach low health (under 20% HP?). If the NPC regenerates above a threshold (30% HP?), they cease fleeing and resume normal behavior. This behavior is similar to the temporary effect of Fear and similar spells.
While fleeing, the NPC will begin pathing in a random direction, or in tight spaces, in a prescribed path. Sometimes the NPC may change directions. In open areas, NPCs will always change directions while fleeing if they reach a certain distance from the player. The effect of this is that a fleeing NPC will never run too far away, and should always be within visible range (though they may still be obscured by objects, terrain, or fog).
- NPCs with social aggro mechanics usually won't start fleeing if they are near other NPCs of the same primary faction. {Perhaps to avoid appearing a coward before their peers). This is a simple range check, and is not blocked by line of sight. They won't stop fleeing if they come within range, however. Use this to your advantage in areas where fleeing enemies are dangerous such as densely packed dungeons. Feared NPCs ignore this rule.
- Fleeing NPCs at very low health will move more slowly, until the point of almost stopping.
- Snare has no direct effect on NPC behavior, but it can further reduce movement speed to zero.
- While Rooted NPCs always exhibit rooted behavior over flee or fear behavior, and resume such behavior once the root breaks. Though NPCs will fight back against melee players while rooted, this is sometimes preferable in dangerous environments such as densely packed dungeons.
- Pets never flee. Undead enemies usually do not flee. Animals and humanoids usually do.
- NPCs whose aggro is cleared will immediately cease fleeing, though if they re-aggro they might start fleeing again right away.
- NPCs who are healed or regenerate might not immediately cease fleeing.
- NPCs who are casting will not start fleeing. The check for flee occurs at the next server tick, rather than when they immediately finish casting a spell. If an NPC heals themselves back over the threshold for fleeing, then they won't start fleeing.