private static final int AC = 20;
@Override
public void addEffect(L1Character user, L1Character target,
int durationSeconds) {
if (target instanceof L1PcInstance) {
L1PcInstance pc = (L1PcInstance) target;
pc.addAc(-AC);
}
}
Remove Effect:
private static final int AC = 20;
@Override
public void removeEffect(L1Character target) {
if (target instanceof L1PcInstance) {
L1PcInstance pc = (L1PcInstance) target;
pc.addAc(AC);
}
}