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;
}