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

Look for onHitTimer() in the L2Character class. Checking if the target.isRaid() can do the trick.

  • 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

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

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock