package com.aionemu.gameserver.model.stats.calc.functions;
import com.aionemu.gameserver.model.stats.calc.Stat2;
import com.aionemu.gameserver.utils.stats.CalculationType;
/**
* @author ATracer
*/
public class StatSubFunction extends StatFunction {
@Override
public void apply(Stat2 stat, CalculationType... calculationTypes) {
if (isBonus()) {
stat.addToBonus(-getValue());
} else {
stat.addToBase(-getValue());
}
}
@Override
public final int getPriority() {
return isBonus() ? 60 : 30;
}
}
순위 | 닉네임 | 포인트 |
---|---|---|
1 |
![]() |
102,949 |
2 |
![]() |
63,733 |
3 |
![]() |
51,771 |
4 |
![]() |
36,923 |
5 |
![]() |
35,011 |
6 |
![]() |
29,470 |
7 |
![]() |
29,097 |
8 |
![]() |
28,199 |
9 |
![]() |
26,731 |
10 |
![]() |
17,020 |