Lineage Justice

Spells & Skills

Lookup and validate skills and spells.

Panic
MP: 30 HP: 30 Item: None Amount: N/A Duration: 64 Skill Type: Change
Delay: 4000 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: 0 Prob Max: N/A
Add Effect:

private static final int STR = 1;
private static final int CON = 1;
private static final int DEX = 1;
private static final int WIS = 1;
private static final int INT = 1;

@Override
public void addEffect(L1Character user, L1Character target,
		int durationSeconds) {
	if (target instanceof L1PcInstance) {
		L1PcInstance pc = (L1PcInstance) target;
		pc.addStr(-STR);
		pc.addCon(-CON);
		pc.addDex(-DEX);
		pc.addWis(-WIS);
		pc.addInt(-INT);
	}
}
Remove Effect:

private static final int STR = 1;
private static final int CON = 1;
private static final int DEX = 1;
private static final int WIS = 1;
private static final int INT = 1;

@Override
public void removeEffect(L1Character target) {
	if (target instanceof L1PcInstance) {
		L1PcInstance pc = (L1PcInstance) target;
		pc.addStr(STR);
		pc.addCon(CON);
		pc.addDex(DEX);
		pc.addWis(WIS);
		pc.addInt(INT);
	}
}