PDA

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



Wise
15-10-16, 10:56 PM
originally posted by philippovitch


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 and 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 atleast 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 usual graveyard will be used.


Since i do not have VS2015 at the moment i couldn't test it on a recent core so waiting for your replay !



here's the Diff :
https://gist.github.com/callmephil/6...4b6f05b6369287 (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 wich is actually (1).