blob: 2bc0ef29d0692f0cb87444423c3323d15337b079 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
#include "BehaviorAttackerMelee.h"
#include "../Monster.h"
#include "../../Entities/Pawn.h"
#include "../../BlockID.h"
bool cBehaviorAttackerMelee::DoStrike(int a_StrikeTickCnt)
{
UNUSED(a_StrikeTickCnt);
GetTarget()->TakeDamage(dtMobAttack, m_Parent, m_AttackDamage, 0);
return true; // Finish the strike. It only takes 1 tick.
}
|