Lineage Justice

Spells & Skills

Lookup and validate skills and spells.

Fear
MP: 0 HP: 12 Item: None Amount: N/A Duration: 16 Skill Type: Probability
Delay: 1000 Cast Invis: No Ignores CM: No Element: None Range: 5 Area: N/A
Dmg Value: 0.0 Dmg Dice: 0 Dice Count: 0 Prob Value: 0 Prob Dice: 26 Prob Max: 30
Add Effect:

private static final int nDODGE = 5;

@Override
public void addEffect(L1Character user, L1Character target,
		int durationSeconds) {
	target.addNdodge((byte) nDODGE); 
	if (target instanceof L1PcInstance) {
		L1PcInstance pc = (L1PcInstance) target;
		pc.sendPackets(new S_PacketBox(S_PacketBox.DODGE_RATE_MINUS, pc.getNdodge()));
	}
}
Remove Effect:

private static final int nDODGE = 5;

@Override
public void removeEffect(L1Character target) {
	target.addNdodge((byte) -nDODGE); 
	if (target instanceof L1PcInstance) {
		L1PcInstance pc = (L1PcInstance) target;
		pc.sendPackets(new S_PacketBox(S_PacketBox.DODGE_RATE_MINUS, pc.getNdodge()));
	}
}