Lineage Justice

Spells & Skills

Lookup and validate skills and spells.

Darkness
MP: 15 HP: 0 Item: 40318 Amount: 1 Duration: 32 Skill Type: Probability
Delay: 500 Cast Invis: No Ignores CM: No Element: None Range: 3 Area: N/A
Dmg Value: 0.0 Dmg Dice: 0 Dice Count: 0 Prob Value: 0 Prob Dice: 11 Prob Max: 99
Add Effect:

if (target instanceof L1PcInstance) {
	L1PcInstance pc = (L1PcInstance) target;
	if (pc.hasSkillEffect(STATUS_FLOATING_EYE)) {
		pc.sendPackets(new S_CurseBlind(2));
	} else {
		pc.sendPackets(new S_CurseBlind(1));
	}
}
Remove Effect:

if (target instanceof L1PcInstance) {
	L1PcInstance pc = (L1PcInstance) target;
	pc.sendPackets(new S_CurseBlind(0));
}