mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-12-23 14:03:34 +00:00
ce51438bc8
* Implement maelstrom fog for alpha FV add OnOffCollisionPhantom call to cppscripts Add physics shape for gas blocking volume * Add Ninja Sensie Script for alpha FV and migration * Fix private var casing * And ninja wild scripts they keep making me add more things * address feedback --------- Co-authored-by: Gie "Max" Vanommeslaeghe <gievanom@hotmail.com>
15 lines
474 B
C++
15 lines
474 B
C++
#pragma once
|
|
#include "CppScripts.h"
|
|
|
|
class TriggerGas : public CppScripts::Script {
|
|
void OnStartup(Entity* self) override;
|
|
void OnCollisionPhantom(Entity* self, Entity* target) override;
|
|
void OnOffCollisionPhantom(Entity* self, Entity* target) override;
|
|
void OnTimerDone(Entity* self, std::string timerName) override;
|
|
private:
|
|
std::string m_TimerName = "gasTriggerDamage";
|
|
float m_Time = 3.0f;
|
|
uint32_t m_MaelstromHelmet = 3068;
|
|
uint32_t m_FogDamageSkill = 103;
|
|
};
|