cyberpro98 Posted September 18, 2016 Report Share Posted September 18, 2016 Hello, i am trying to make an script for BOSS. But everything works good, the only thing is that the boss won't cast LAY OF HANDS spell when he has got 10% of hp. So i don't know what to do, anyone have idea ? Dear guest, please login or register to see this content. Quote Link to comment Share on other sites More sharing options...
darksoke Posted September 19, 2016 Report Share Posted September 19, 2016 Dear guest, please login or register to see this content. is this trinitycore ? As much as i know a bos script should be bound to an instance if you want to create a worldboss you'd go with a creature script instead and for god sake replace Dear guest, please login or register to see this content. Dear guest, please login or register to see this content. Also when you copy/paste an existing boss script make sure you remove the instance related code like Dear guest, please login or register to see this content. because it will check if boss is in instance else script won't be applied EDIT: Getting back to the subject you might want to check out Dear guest, please login or register to see this content. and Dear guest, please login or register to see this content. that mean there's a chance to cast the lay of hands after 10-15 minutes after you start fighting with a condition that the boss have less than 10% HP but i doubt your boss would last so much at 10% hp so just set the timer to 1-2 minutes beware that timer is in milliseconds not seconds Quote Link to comment Share on other sites More sharing options...
cyberpro98 Posted September 19, 2016 Author Report Share Posted September 19, 2016 So i have to add Dear guest, please login or register to see this content. Dear guest, please login or register to see this content. Quote Link to comment Share on other sites More sharing options...
Madness Posted November 1, 2016 Report Share Posted November 1, 2016 Hey mate, did you resolve this? Quote Link to comment Share on other sites More sharing options...
cyberpro98 Posted November 1, 2016 Author Report Share Posted November 1, 2016 not really... after some time the players said me that he uses instantly that spell lol the lay of hands he casts is all the time .. After 5 mins or 10 mins i mean Quote Link to comment Share on other sites More sharing options...
cyberpro98 Posted November 1, 2016 Author Report Share Posted November 1, 2016 Never matter, close thread... Quote Link to comment Share on other sites More sharing options...
Madness Posted November 2, 2016 Report Share Posted November 2, 2016 You need to do vigorous testing. The code looks okay so it should work. Perhaps your timings are wrong? If the timings are okay then are you sure the health checks are correct? You can add some chat messages at different times to check if the timers are working properly. Make the chat message appear at the times of the spells for example. Quote Link to comment Share on other sites More sharing options...
cyberpro98 Posted November 2, 2016 Author Report Share Posted November 2, 2016 Madnesssss lel i am lazy to write again stuff ... Quote Link to comment Share on other sites More sharing options...
Madness Posted November 2, 2016 Report Share Posted November 2, 2016 Dear guest, please login or register to see this content. I can't help if there's no information >.< Do the other spells work okay? Quote Link to comment Share on other sites More sharing options...
cyberpro98 Posted November 2, 2016 Author Report Share Posted November 2, 2016 Yeahhh, the other spells are working perfectly Quote Link to comment Share on other sites More sharing options...
Madness Posted November 17, 2016 Report Share Posted November 17, 2016 One thing you can try, is replacing the spell for another one. If the other one works then you know exactly where your problem is (with the spell itself). Quote Link to comment Share on other sites More sharing options...
cyberpro98 Posted November 19, 2016 Author Report Share Posted November 19, 2016 Okay, but never matter i removed it Quote Link to comment Share on other sites More sharing options...
cyberpro98 Posted May 5, 2018 Author Report Share Posted May 5, 2018 TOPIC CLOSED Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.