Lineage Justice

Spells & Skills

Lookup and validate skills and spells.

EnchantVenom
MP: 10 HP: 1 Item: 40321 Amount: 1 Duration: 320 Skill Type: Change
Delay: 10 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
L1Attack:

public void addPcPoisonAttack(L1Character attacker, L1Character target) {
	int chance = _random.nextInt(100) + 1;
	if ((_weaponId == FINGER_OF_DEATH || _weaponId == SWORD_OF_ANCIENT_ELF ||
			(_weaponId != UNARMED && _pc.hasSkillEffect(ENCHANT_VENOM))) && chance <= 10) {
		L1DamagePoison.doInfection(attacker, target, 3000, 5);
	} else {
		if (L1MagicDoll.getEffectByDoll(attacker, ENCHANT_VENOM) == ENCHANT_VENOM) {
			L1DamagePoison.doInfection(attacker, target, 3000, 5);
		}
	}
}