|
According to the RS Wiki
Now this is kind of confusing for me because the example it is using has hits in the thousands? I didn't play RS in a long time, but should the hits be in the 100's not the 1000's?Soul Split will normally heal the user by 10% of damage dealt, but this is decreased to 5% for any damage over 2000. As an example, if a player deals 4000 damage, he or she would be healed 10% of the first 2000, plus 5% of the other 2000, for a total heal of 300.
This is what I got from reading that:
So 10% healing if the damage is lower than 20, and always a 2 HP heal + a 5% for anything over than 20?Code:if (damage <= 20) heal = damage / 10; else if (damage > 20) heal = 2 + damage / 5;
i think you mean 20, 5 will be 20% of the hit, also you need to deduct the 20 dam
Code:if (damage <= 20) heal = damage / 10; else if (damage > 20) heal = 2 + ((damage-20) / 20);
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |