Jump to content
  • 0

Healers can heal RaidBosses


Question

4 answers to this question

Recommended Posts

  • 0
Posted (edited)

The method you are looking for is Player#checkDoCastConditions. Although this works too, players can cast the spell but it won't heal the boss

Edited by Zake
  • 0
Posted (edited)
5 hours ago, prostylw1 said:

I have add this in heal.java but you can heal raidboss and grandboss where is my mistake ? please help

rev382

 

Heal.java:

if(!Config.PLAYERS_CAN_HEAL_RB && !activeChar.isGM() && target instanceof L2MonsterInstance)
			{
				activeChar.sendPacket(ActionFailed.STATIC_PACKET);
				continue;
			}

or try this :

 

+            if (target instanceof L2RaidBossInstance)

+                continue;  

+                if (target instanceof L2GrandBossInstance)

+                continue;              

// Player holding a cursed weapon can't be healed and can't heal

+if (target instance of L2MonsterInstance)

+continue;

Edited by scraw
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