2009-12-14, 07:15 AM
(This post was last modified: 2009-12-14, 07:37 AM by rainbowBean.)
For who don't know whats SAR, its a binary operation removing x bits from the right. so for example if your level is 10, SAR(5,1) will be taking 5 in binary (101) and removing one bit from the right. the result will be 10, which is 2 in decimal.
Confusing...
- If your level is 10,
I think you are referring to the level difference between the monster level and your character level.
SAR(5,1)
Where this 5 came from? Shouldn't it be 10?
SAR(moblevel - your level,1) = SAR(10,1)
In C/Java it would be either
if(yourLevel < moblevel){
x = moblevel-yourLevel)>>1;
yourAvoid -= x;
}
correction would be:
so for example if your level difference is 5,
SAR(5,1) will be taking 5 in binary (101) and removing one bit from the right.
the result will be 10, which is 2 in decimal.
2nd correction
your level is below monster level, (yourLevel < monsterLevel)
don't need to use below or equal <= (yourLevel <= monsterLevel)
0 >> 1 = 0 (so no point deducting from yourAvoid)
/////////////////////////////////////////////////////
For example, a level 10 beginner with 400 avoidability against a green mushroom with 45 accuracy:
1.decrease avoidability by SAR(5,1), which is 2. your avoidability is 398 now.
2. (398 / (45 * 4.5)) * 100 = 196.54. since this number is over 80, your chance to be missed is 80%.
extra info:
assuming your character level is 10 who is trying to play miss game with a level 15 green mushroom,
it would be:
(mobLevel - yourLevel) >> 1
(greenMushroomLevel - yourLevel) >> 1
(15 - 10) >> 1
5 >> 1
result: 2
Confusing...
- If your level is 10,
I think you are referring to the level difference between the monster level and your character level.
SAR(5,1)
Where this 5 came from? Shouldn't it be 10?
SAR(moblevel - your level,1) = SAR(10,1)
In C/Java it would be either
if(yourLevel < moblevel){
x = moblevel-yourLevel)>>1;
yourAvoid -= x;
}
correction would be:
so for example if your level difference is 5,
SAR(5,1) will be taking 5 in binary (101) and removing one bit from the right.
the result will be 10, which is 2 in decimal.
2nd correction
your level is below monster level, (yourLevel < monsterLevel)
don't need to use below or equal <= (yourLevel <= monsterLevel)
0 >> 1 = 0 (so no point deducting from yourAvoid)
/////////////////////////////////////////////////////
For example, a level 10 beginner with 400 avoidability against a green mushroom with 45 accuracy:
1.decrease avoidability by SAR(5,1), which is 2. your avoidability is 398 now.
2. (398 / (45 * 4.5)) * 100 = 196.54. since this number is over 80, your chance to be missed is 80%.
extra info:
assuming your character level is 10 who is trying to play miss game with a level 15 green mushroom,
it would be:
(mobLevel - yourLevel) >> 1
(greenMushroomLevel - yourLevel) >> 1
(15 - 10) >> 1
5 >> 1
result: 2

