Skip to content

Instantly share code, notes, and snippets.

@PrivateDonut
PrivateDonut / buffZone.cpp
Last active February 1, 2023 04:31
Cast a boss on a player when they enter the defined zone works for trinity core 3.3.5a.
View buffZone.cpp
#include "ScriptPCH.h"
#include "Player.h"
#include "Unit.h"
// Define your buffid and zoneid here!
#define buffid 48162
#define zoneid 12
class buff_zone : public PlayerScript
{