Jump to content
  • 0

Raidboss Shout When Killed


Question

Recommended Posts

  • 0
Posted (edited)

Quest monsters uses a script/quest, overriden onKill and attacks. You can hardcode it on onKill directly l2npc.

Edited by SweeTs
  • 0
Posted

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
Posted

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
Posted (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 by SweeTs
  • 0
Posted

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
Posted

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...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.




×
×
  • Create New...