Jump to content
  • 0

[I want to put a boss to drop clan points]Possible?


Question

5 answers to this question

Recommended Posts

  • 0
Posted

L2RaidbossInstance.java

 

Find doDie method

 

    if(killer instanceof L2PlayableInstance)

        {

    L2PcInstance player = ((L2PcInstance)killer);

    if (!player.isInFunEvent() && player.getClan() != null)

            {

player.getClan().setReputationScore(player.getClan().getReputationScore() + 500, true);

player.getClan().broadcastToOnlineMembers(new PledgeShowInfoUpdate(player.getClan()));

            }

        SystemMessage msg = new SystemMessage(SystemMessageId.RAID_WAS_SUCCESSFUL);

        broadcastPacket(msg);

        }

  • 0
Posted

L2RaidbossInstance.java

 

Find doDie method

 

    if(killer instanceof L2PlayableInstance)

        {

    L2PcInstance player = ((L2PcInstance)killer);

    if (!player.isInFunEvent() && player.getClan() != null)

            {

player.getClan().setReputationScore(player.getClan().getReputationScore() + 500, true);

player.getClan().broadcastToOnlineMembers(new PledgeShowInfoUpdate(player.getClan()));

            }

        SystemMessage msg = new SystemMessage(SystemMessageId.RAID_WAS_SUCCESSFUL);

        broadcastPacket(msg);

        }

 

Apply into my l2j pack but anyway i wont use it cause i putted eggs :P

  • 0
Posted
Apply into my l2j pack but anyway i wont use it cause i putted eggs Tongue

 

Locked.

Guest
This topic is now closed to further replies.


×
×
  • 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