cybran Posted September 20, 2016 Report Share Posted September 20, 2016 So I've wrote a script for Kor'kron Dark Shamans that works perfectly on trinity core 6.x branch, but I have 1 problem, I do not know how to implement shared boss health. I've been trying to find some bosses that do have this implemented but still I did not see solution on how to do this. So I am asking for help here. Link to comment Share on other sites More sharing options...
Rochet2 Posted September 20, 2016 Report Share Posted September 20, 2016 Have you looked at how the council works in black temple? (the 3 bosses right before illidan stormrage) Link to comment Share on other sites More sharing options...
cybran Posted September 20, 2016 Author Report Share Posted September 20, 2016 Well I implemented it the same way and now it crashes the worldserver.exe when the boss is started Link to comment Share on other sites More sharing options...
Rochet2 Posted September 20, 2016 Report Share Posted September 20, 2016 So you probably did something wrong then. Debug it? Link to comment Share on other sites More sharing options...
Ulduar Posted September 21, 2016 Report Share Posted September 21, 2016 Set Health. else if (e.action.sethealthpointorpercent.healthpointmod == 2) (*itr)->ToUnit()->SetHealth(me->GetHealth()); else if (e.action.sethealthpointorpercent.healthpointmod == 3) me->SetHealth((*itr)->ToUnit()->GetHealth()); For example. Link to comment Share on other sites More sharing options...
Recommended Posts