private static final int STR = 1;
private static final int CON = 1;
private static final int DEX = 1;
private static final int WIS = 1;
private static final int INT = 1;
@Override
public void addEffect(L1Character user, L1Character target,
int durationSeconds) {
if (target instanceof L1PcInstance) {
L1PcInstance pc = (L1PcInstance) target;
pc.addStr(-STR);
pc.addCon(-CON);
pc.addDex(-DEX);
pc.addWis(-WIS);
pc.addInt(-INT);
}
}
Remove Effect:
private static final int STR = 1;
private static final int CON = 1;
private static final int DEX = 1;
private static final int WIS = 1;
private static final int INT = 1;
@Override
public void removeEffect(L1Character target) {
if (target instanceof L1PcInstance) {
L1PcInstance pc = (L1PcInstance) target;
pc.addStr(STR);
pc.addCon(CON);
pc.addDex(DEX);
pc.addWis(WIS);
pc.addInt(INT);
}
}