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