![]() |
AwakenValakas |
MP: | 50 | HP: | 30 | Item: | 49157 | Amount: | 1 | Duration: | 600 | Skill Type: | Change | Target: | none |
Delay: | 10 | Cast Invis: | Yes | Ignores CM: | Yes | Element: | None | Range: | N/A | Area: | N/A | Lawful: | 0 |
Dmg Value: | 0.0 | Dmg Dice: | 0 | Dice Count: | 0 | Prob Value: | 0 | Prob Dice: | 0 | Prob Max: | N/A | Threat: | 0 |
private static final byte STUNUP = 10;
private static final byte HITUP = 5;
@Override
public void addEffect(L1Character user, L1Character target,
int durationSeconds) {
if (target instanceof L1PcInstance) {
L1PcInstance pc = (L1PcInstance) target;
pc.addResistStun(STUNUP);
pc.addHitup(HITUP);
}
}
private static final byte STUNUP = 10;
private static final byte HITUP = 5;
@Override
public void removeEffect(L1Character target) {
if (target instanceof L1PcInstance) {
L1PcInstance pc = (L1PcInstance) target;
pc.addResistStun(-STUNUP);
pc.addHitup(-HITUP);
}
}