root/branches/1.9/src/com/aionemu/gameserver/skillengine/effect/AbstractHealEffect.java
| 2042 | 2406 | ||
|---|---|---|---|
56 | int possibleHealValue = maxValue * valueWithDelta / 100; | 56 | int possibleHealValue = maxValue * valueWithDelta / 100; |
57 | healValue = maxValue - currentValue < possibleHealValue ? maxValue - currentValue : possibleHealValue; | 57 | healValue = maxValue - currentValue < possibleHealValue ? maxValue - currentValue : possibleHealValue; |
58 | } | 58 | } |
59 | int boostHeal = effect.getEffector().getGameStats().getCurrentStat(StatEnum.BOOST_HEAL); | 59 | // +100 = 100% heal min value for all class. |
60 | // Boost heal formula = boost heal value / 10 = additional % heal value. | ||
61 | int boostHeal = (effect.getEffector().getGameStats().getCurrentStat(StatEnum.BOOST_HEAL) / 10) + 100; | ||
60 | effect.setReserved1(Math.round(-healValue * boostHeal / 100f)); | 62 | effect.setReserved1(Math.round(-healValue * boostHeal / 100f)); |
61 | } | 63 | } |
62 | 64 |
Download diff