PDA

View Full Version : [TrinityCore] C++ Dungeon and Raid Dynamic Player Resurrection



Wise
10-09-18, 09:17 AM
Dungeon and Raid Dynamic Player Resurrection is a simple script that add a kind of "Waypoint" when a boss in dungeon or in raid is killed so that player get Resurrected at this point if they die and release there body. this features got implemented on MOP+ by blizzard but they are static graveyard that are unlocked depending on the group progress.
at the moment i wanted to do something really easy to understand, script and use.

here's how it works :
Each time someone kill a Dungeon or Raid Boss it spawn an invisible mob that will stay for 2 hours or until instance got reset. When someone die and release his body after getting at least one spawn point he will get resurrected at the last spawn point with 70 % of his health and mana. however if no spawn point are created standard graveyard will be used.

here's the Diff : [C++] Dungeon And Raid Dynamic Resurrection * GitHub (https://gist.github.com/callmephil/6bb933fdf772119c164b6f05b6369287)

Video Preview !

https://www.youtube.com/watch?v=T0X7V6lftqo

No SQL is Required unless you decide to change the spawn point entry which is actually (1).

Script Updated 9/9/2018 - Compiled - Untested


philippovitch take credits for the script