Lineage Justice

Spells & Skills

Lookup and validate skills and spells.

AreaOfSilence
MP: 40 HP: 0 Item: 40319 Amount: 8 Duration: 16 Skill Type: Probability
Delay: 9000 Cast Invis: Yes Ignores CM: Yes Element: None Range: N/A Area: 3
Dmg Value: 0.0 Dmg Dice: 0 Dice Count: 0 Prob Value: 33 Prob Dice: 30 Prob Max: 90
L1SkillUse Execution:

if ((pc.hasSkillEffect(SILENCE)
		|| pc.hasSkillEffect(AREA_OF_SILENCE) || pc
			.hasSkillEffect(STATUS_POISON_SILENCE)
			|| pc.hasSkillEffect(ELZABE_AREA_SILENCE))
		&& !IntArrays.sContains(CAST_WITH_SILENCE, _skillId)) {
	pc.sendPackets(new S_ServerMessage(285)); // You can't cast a spell in that state.
	return false;
}