View Single Post
  #695  
Old 08-21-2008, 09:09 PM
Angelox
AX Classic Developer
 
Join Date: May 2006
Location: filler
Posts: 2,049
Default

Quote:
Originally Posted by Ikeren View Post
Actually, it seems to me that the problem is because the Warrior won't taunt undead mobs. Admittedly I've only tested that in Veksar, but the warrior spams taunting messages when we kill live mobs, but as soon as we start doing dead ones, no taunt messages.
That's correct, warrior does not taunt undead
But this will fix the Warrior Bot to taunt undead;
In special_attacks.cpp at around line 1010;
Code:
#ifdef EQBOTS

    //franck-add: EQoffline. Warrior bots must taunt the target.
	if(IsBot() && (GetClass() == WARRIOR) && target->IsNPC() && (target->GetBodyType() && BT_Undead) && taunt_time) {
        this->Say("Taunting %s", target->GetCleanName());
		Taunt(target->CastToNPC(), false);
	}
	
#endif //EQBOTS
What's in red is what was changed (used to be !=).