Lineage Justice

Spells & Skills

Lookup and validate skills and spells.

SolidCarriage
MP: 10 HP: 100 Item: None Amount: N/A Duration: 64 Skill Type: Change
Delay: 3000 Cast Invis: Yes Ignores CM: Yes Element: None 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
L1SkillUse Execution:

if (_skillId == SOLID_CARRIAGE // Is shield equipped?
		&& pcInventory.getTypeEquipped(2, 7) == 0) {
	pc.sendPackets(new S_ServerMessage(1008)); // You cannot cast magic in that condition.
	return false;
}
L1PCInstance Get ER:

public int getEr() {
	if (hasSkillEffect(STRIKER_GALE)) {
		return 0;
	}

	int er = getClassFeature().getER(getLevel());

	er += (getDex() - 8) / 2;

	er += getOriginalEr();

	if (hasSkillEffect(DRESS_EVASION)) {
		er += 12;
	}
	if (hasSkillEffect(AQUA_PROTECTER)) {
		er += 5;
	}
	if (hasSkillEffect(SOLID_CARRIAGE)) {
		er += 15;
	}
	return er;
}