Lineage Justice

Spells & Skills

Lookup and validate skills and spells.

VenomResist
MP: 20 HP: 0 Item: None Amount: N/A Duration: 320 Skill Type: Change
Delay: 0 Cast Invis: Yes Ignores CM: Yes Element: None Range: N/A Area: N/A
Dmg Value: 0.0 Dmg Dice: 0 Dice Count: 0 Prob Value: 0 Prob Dice: 0 Prob Max: N/A
L1Poison Execution:

protected static boolean isValidTarget(L1Character cha) {
	if (cha == null) {
		return false;
	}
	if (cha.getPoison() != null) {
		return false;
	}

	if (!(cha instanceof L1PcInstance)) {
		return true;
	}

	L1PcInstance player = (L1PcInstance) cha;
	if (player.getInventory().checkEquipped(20298)
			|| player.getInventory().checkEquipped(20117)
			|| player.getInventory().checkEquipped(21172)
			|| player.getInventory().checkEquipped(21173)
			|| player.getInventory().checkEquipped(21174)
			|| player.getInventory().checkEquipped(21175)
			|| player.hasSkillEffect(VENOM_RESIST)) {
		return false;
	}
	return true;
}