Lineage Justice

Spells & Skills

Lookup and validate skills and spells.

EyeofStorm
MP: 40 HP: 0 Item: None Amount: N/A Duration: 960 Skill Type: Change
Delay: 0 Cast Invis: Yes Ignores CM: Yes Element: Wind Range: N/A 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 byte BOWHITUP = 2;
private static final byte BOWDMGUP = 3;

@Override
public void addEffect(L1Character user, L1Character target,
		int durationSeconds) {
	if (target instanceof L1PcInstance) {
		L1PcInstance pc = (L1PcInstance) target;
		pc.addBowHitup(BOWHITUP);
		pc.addBowDmgup(BOWDMGUP);
		pc.sendPackets(new S_SkillIconAura(155, durationSeconds));			
	}
}
Remove Effect:

private static final byte BOWHITUP = 2;
private static final byte BOWDMGUP = 3;

@Override
public void addEffect(L1Character user, L1Character target,
		int durationSeconds) {
	if (target instanceof L1PcInstance) {
		L1PcInstance pc = (L1PcInstance) target;
		pc.addBowHitup(-BOWHITUP);
		pc.addBowDmgup(-BOWDMGUP);
		pc.sendPackets(new S_SkillIconAura(155, 0));			
	}
}