View Single Post
  #3  
Old 08-04-2011, 10:09 AM
Criimson
Hill Giant
 
Join Date: Sep 2006
Posts: 172
Default

Quote:
Originally Posted by Congdar View Post
It's likely that a Bot is triggering the EVENT_ATTACK and since a bot is not a client it fails. Try a quick test. Add a check in NPC:amage() where EVENT_ATTACK is triggered
Code:
	if(attacked_timer.Check()) 
	{
		mlog(COMBAT__HITS, "Triggering EVENT_ATTACK due to attack by %s", other->GetName());

#ifdef BOTS
		if(other->IsBot())
			parse->EventNPC(EVENT_ATTACK, this, other->CastToBot()->GetBotOwner(), "", 0);
		else
#endif //BOTS

                parse->EventNPC(EVENT_ATTACK, this, other, "", 0);
	}
Thank you

Actually I just removed the check since it looks like no matter what you get ported.

Another thing about this zone I noticed. The Ravager that spawns over first bridge casts mana rend and then I get hit for 11k damage. Unsure why as mana rend isnt a DD. Even tried it on a gm character with the same result. Warrior regular char and bard GM char.

And it isnt a bot triggering or at least it shouldnt be. I had the bots attack and they killed it without triggering event - while I watched against wall.

Last edited by Congdar; 08-04-2011 at 10:21 AM..
Reply With Quote