Files
DarkflameServer/dGame/dBehaviors/NpcCombatSkillBehavior.h
David Markowitz 855864c536 fix: enemies not interrupting QB's when they do damage
tested that stromlings in AG now correctly interrupt quickbuilds if the player takes damage
2026-06-15 20:03:20 -07:00

24 lines
438 B
C++

#pragma once
#include "Behavior.h"
class NpcCombatSkillBehavior final : public Behavior
{
public:
std::vector<Behavior*> m_behaviors;
float m_npcSkillTime;
float m_maxRange{};
/*
* Inherited
*/
explicit NpcCombatSkillBehavior(const uint32_t behavior_id) : Behavior(behavior_id) {
}
void Calculate(BehaviorContext* context, RakNet::BitStream& bit_stream, BehaviorBranchContext branch) override;
void Load() override;
};