Jump to content
  • 0

Faction siege


Question

Posted

Ok pretty simple, I need to make same faction members to be able to slayer each other's eyes out in a siege zone.

 

I have already implemented an olympiad fix and it looks like this: (L2J Equal int)

 

				if (((L2PcInstance) this).isgood() && ((L2PcInstance) target).isgood() && Config.MOD_GVE_ENABLE_FACTION && !((L2PcInstance) this).isInOlympiadMode() && !((L2PcInstance) target).isInOlympiadMode())
			{
				((L2PcInstance) this).sendMessage("Cant attack a player from your faction");
				sendPacket(new ActionFailed());
				return;
			}

 

I just couldn't find the state I had to call for the siege zone and I have very limited free time so I would appreciate it if someone could tell me the condition I had to use in there

 

Thanks in advance

2 answers to this question

Recommended Posts

  • 0
Posted

&& !((L2PcInstance) this).isInsideZone(L2Character.ZONE_SIEGE) && !((L2PcInstance) target).isInsideZone(L2Character.ZONE_SIEGE)

Hope you'll give me a biscuit xD

  • 0
Posted

&& !((L2PcInstance) this).isInsideZone(L2Character.ZONE_SIEGE) && !((L2PcInstance) target).isInsideZone(L2Character.ZONE_SIEGE)

Hope you'll give me a biscuit xD

 

Haha thanks again, the biscuit is on it's way :3

 

 

(lockity locklock)

Guest
This topic is now closed to further replies.


×
×
  • Create New...