Lineage Justice

Spells & Skills

Lookup and validate skills and spells.

Shadow Sleep
MP: 20 HP: 0 Item: None Amount: N/A Duration: 3 Skill Type: Probability
Delay: 990 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: 30 Prob Dice: 10 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));
}