Jump to content
  • 0

Question

Posted

exist cond if some1 is inside on peace zone cannot use current skill?

and when go out from town can use it..?

 

like this  <player peace="false"/>

11 answers to this question

Recommended Posts

  • 0
Posted

What exactly you want to 'disable'? Since, you can play with code such as isInsideZone(ZoneId.PEACE) or w/e it is in your pack :)

  • 0
Posted

5-6 skills

 

its hardcoded, useless to have a condition for 5-6 skills, try to find the restriction in the core

  • 0
Posted

						if(getSkillType() == SkillType.RESURRECT)
					{
						// check target is not in a active siege zone
						if(player.isInsideZone(L2Character.ZONE_PEACE) && !player.isInsideZone(L2Character.ZONE_SIEGE))

						{
							condGood = false;
							player.sendPacket(new SystemMessage(SystemMessageId.CANNOT_BE_RESURRECTED_DURING_SIEGE));
						}

any bug from this? also i cant add for heal type maybe i add it in wrong place?

 

 

 

i test this and working but i cant modifie all beucase is is target_corpse_ally can rez ..

  • 0
Posted

its hardcoded, useless to have a condition for 5-6 skills, try to find the restriction in the core

 

its not hardcoded bro, u can even make a 3 line code on doCast packet

  • 0
Posted

its not hardcoded bro, u can even make a 3 line code on doCast packet

 

hmmmm i guess than i have to get up to speed with changes from the past 1-2 year thanks for the info :)

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