B0nd Posted January 2, 2016 Posted January 2, 2016 Hello... How i can make the raidboss when he take damage to make the Shout..... Like:
0 SweeTs Posted January 2, 2016 Posted January 2, 2016 (edited) Quest monsters uses a script/quest, overriden onKill and attacks. You can hardcode it on onKill directly l2npc. Edited January 2, 2016 by SweeTs
0 B0nd Posted January 2, 2016 Author Posted January 2, 2016 Quest monsters uses a script/quest, overriden onKill and attacks. You can hardcode it on onKill directly l2npc. on eclipse-source or at files of pack?
0 DrenepiaWorld Posted January 2, 2016 Posted January 2, 2016 on eclipse-source or at files of pack? you can find scrips/quests on your eclipse too it's on dp, better to check it there than on your files but it's the same
0 B0nd Posted January 2, 2016 Author Posted January 2, 2016 you can find scrips/quests on your eclipse too it's on dp, better to check it there than on your files but it's the same i go at files gameserver\data\scripts\quests but after?
0 Tessa Posted January 2, 2016 Posted January 2, 2016 Look for onHitTimer() in the L2Character class. Checking if the target.isRaid() can do the trick.
0 SweeTs Posted January 2, 2016 Posted January 2, 2016 (edited) Find a quest where mobs speak. For example you can check gordon Ai. But if you want only msg then read further. onKill check is enough :) Edited January 2, 2016 by SweeTs
0 DrenepiaWorld Posted January 2, 2016 Posted January 2, 2016 Find a quest where mobs speak. For example you can check gordon Ai. But if you want only msg then read further. onKill check is enough :) it can be this one? public void onDeath(Creature killer) { super.onDeath(killer); Functions.npcSayInRange(this, 1000, NpcString.THE_GODS_HAVE_FORSAKEN_US__RETREAT); }
0 SweeTs Posted January 2, 2016 Posted January 2, 2016 Yes. More or less, depending of you source/methods ofc :)
0 DrenepiaWorld Posted January 2, 2016 Posted January 2, 2016 Yes. More or less, depending of you source/methods ofc :) it was the only thing that i could find on the fortress scripts with this method, so i guess this is the one that he's looking for
0 Tessa Posted January 2, 2016 Posted January 2, 2016 Don't he want the raid to say that before is being killed?
0 DrenepiaWorld Posted January 2, 2016 Posted January 2, 2016 Don't he want the raid to say that before is being killed? he wants when raid boss got 50% of his HP to make an announce like this one on the screenshot
0 Tessa Posted January 2, 2016 Posted January 2, 2016 So, inside onHitTimer() check if target.isRaid() and target.getCurrentHp() <= "do % calculation". Then use CreatureSay and voila. It should be the same as the low level raids curse, I think...
0 B0nd Posted January 2, 2016 Author Posted January 2, 2016 L2Atackable.java can help me more? on skype or teamviewer?
Question
B0nd
Hello...
How i can make the raidboss when he take damage to make the Shout.....
Like:
31 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now