mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-12-23 05:53:34 +00:00
bd7f532a28
* Imaginite Pack now works * Remove unused params * Address issues * Add TeslaPack script Co-authored-by: aronwk-aaron <aronwk.aaron@gmail.com>
22 lines
608 B
C++
22 lines
608 B
C++
#ifndef __GemPackBase__H__
|
|
#define __GemPackBase__H__
|
|
|
|
#include "CppScripts.h"
|
|
|
|
class CoilBackpackBase: public CppScripts::Script {
|
|
public:
|
|
CoilBackpackBase(uint32_t skillId, uint32_t behaviorId) {
|
|
m_SkillId = skillId;
|
|
m_BehaviorId = behaviorId;
|
|
};
|
|
|
|
void OnFactionTriggerItemEquipped(Entity* itemOwner, LWOOBJID itemObjId) override;
|
|
void NotifyHitOrHealResult(Entity* self, Entity* attacker, int32_t damage) override;
|
|
void OnFactionTriggerItemUnequipped(Entity* itemOwner, LWOOBJID itemObjId) override;
|
|
private:
|
|
uint32_t m_SkillId = 0;
|
|
uint32_t m_BehaviorId = 0;
|
|
};
|
|
|
|
#endif //!__GemPackBase__H__
|