Dataslycer wrote:Well being a former veteran ranged hunter of bears for a while (at least until I moved to killing them with melee), I do understand the AI of the bear a bit.
Attack:
1. When a bear acquires a target, it will first move in a path that will navigate around all objects, including the ones that it would break.
2. When it attempts to move but cannot find a path towards the target, then it will attempt to find a pathway that will include going through certain low level items such as construction signs and tanning tub but not including boats, carts, palisade, or boulders which will impede it. If it finds a pathway to you that involves going through lesser objects, then it will attempt to move again, this time initiating adventure > destroy (5x faster than what we can do) on any said object in the way, even if it can normally go around it.
3. If it still cannot find a sufficient path to you, such as being in the water or a cliff that span for a good distant both direction, it will move in a straight line towards you with no pathfinding and will do so until it encounters an obstacle. It will not destroy any objects during this phase.
Fear:
1. If a bear is inflicted with sufficient amount of damage (Estimated 10% of its max HP minimum) it has a chance of going into a fear state where it will try to pathfind a direction away from the target if the bear has acquired an initial path towards the player at above step 1 or 2. The initial fear state will use its destroy action if it is impeding its escape. The more damage over the minimum condition is deal, the bigger the chance of the bear running away.
2. If a bear is in fear state but has no pathway out nor there is a pathway towards the player, it will simply just stand there until hit with another attack in which it will repeat step 1 & 2 in the fear state.
3. If a bear in step 1 moves far enough that its portrat becomes a ?, it will start to return back in the last spot where the player was standing moving at running speed instead of its maximum sprinting speed.
4. After step 3 is done it will start pathfinding at the player at running speed again (unconfirmed if it performs destroy action).
Users browsing this forum: Claude [Bot], PetalBot [Bot] and 0 guests