Lineage Justice

Spells & Skills

Lookup and validate skills and spells.

IllusionAvatar
MP: 50 HP: 0 Item: None Amount: N/A Duration: 64 Skill Type: Change
Delay: 5000 Cast Invis: Yes Ignores CM: Yes Element: None Range: 15 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 DMGUP = 10;
private static final int BOWDMGUP = 10;

@Override
public void addEffect(L1Character user, L1Character target,
		int durationSeconds) {
	if (target instanceof L1PcInstance) {
		L1PcInstance pc = (L1PcInstance) target;
		pc.addDmgup(DMGUP);
		pc.addBowDmgup(BOWDMGUP);
	}
}
Remove Effect:

private static final int DMGUP = 10;
private static final int BOWDMGUP = 10;

@Override
public void removeEffect(L1Character target) {
	if (target instanceof L1PcInstance) {
		L1PcInstance pc = (L1PcInstance) target;
		pc.addDmgup(-DMGUP);
		pc.addBowDmgup(-BOWDMGUP);
	}
}
Receiving Damage:

if (hasSkillEffect(ILLUSION_AVATAR)) {
	damage *= 1.2;
}

Lineage is abandonware in North America. People located in a country serviced by NCSoft are not allowed to play on this server.

Lineage: The Blood Pledge and all related art are Copyright © NCSoft