Jump to content
  • 0

Heal npc and doors


l2fire

Question

Hello how to fix this bug? Players can heal clan doors and u see which range is

 

Photo prnt.sc

 

		RequestMagicSkillUse.java	

if ((skill.getSkillType() == SkillType.HEAL || skill.getSkillType() == SkillType.HEAL_PERCENT || skill.getSkillType() == SkillType.HEAL_STATIC) && activeChar.getTarget() instanceof L2DoorInstance)
			{
				return;
			}

EDITED: Forgot to add skill name: Greater Battle Heal id: 1218

Edited by l2fire
Link to comment
Share on other sites

Recommended Posts

  • 0
5 hours ago, 'Baggos' said:

Read my quote.. You have 3 Options to block the heal:

  1. RequestMagicSkillUse | In check for Ctrl button, you can block the skill type.
  2. L2Character.java | Search for L2RaidBossInstance and you will understand what you have to do.
  3. Heal/HealPercent.java | Easy way to block the skill type, but players can cast the heal on mobs/doors(without any HP result ofc).

For me, work on already check in L2Character.java file.

 

Thank you very much for help, fixed. 

 

3 hours ago, SweeTs said:

I choose heal java files, let them get flag > kill the fag. 

Thank u too.

 

Lock this post.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...