What's new
  • Happy Cataclysm gaming! The long-awaited 4.3.4 Cataclysm Repack V19.0 is now live - and downloadable from our brand-new Emucoach App.
    Download it now
  • Mists of Pandaria is calling! Heya - did you know that the newest 5.4.8 MoP Repack - version 7.0 - is now live?
    Download now

[c++]Buff Player On Defined Zone - TrinityCore 3.3.5a

PrivateDonut

Veteran Member
59
2015
26
Hello everyone,

I recently made this script for someone in the support section on another forums and decided to share it. Just a simple c++ script that will cast a spell on any player entering the defined zone ID and remove it once they leave that zone.

  • #define buffid 48162 (change 48162 to whatever spell id you want it to cast on zone update).
  • #define zoneid 12 (change 12 to whatever zone ID you want).

Download Link: Github - gist link

Don't know how to add custom c++ scripts? Visit: LINK
 
Back
Top