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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..