mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-22 16:28:28 +00:00
Fixed 2H Blunt Animation to match Live
Melee bots (with no mana) will now sit when not full HP and out of combat.
This commit is contained in:
+2
-2
@@ -3151,9 +3151,9 @@ void Bot::SpellProcess()
|
||||
void Bot::BotMeditate(bool isSitting) {
|
||||
if(isSitting) {
|
||||
// If the bot is a caster has less than 99% mana while its not engaged, he needs to sit to meditate
|
||||
if(GetManaRatio() < 99.0f)
|
||||
if(GetManaRatio() < 99.0f || GetHPRatio() < 99.0f)
|
||||
{
|
||||
if(!IsSitting())
|
||||
if (!IsEngaged() && !IsSitting())
|
||||
Sit();
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user