![]() |
|
|
|
#1
|
||||
|
Quote:
But if you really want to see it fixed ... and you know the programming language PHP ... you could "fix it yourself" by downloading the source code from https://wiki.project1999.com/utils/wikiUtils.php (click "Custom Extensions Source", and then the Magelo stuff is in a "Magelo" folder). If you or anyone else could make a fix to the algorithm, I'd imagine Ravhin would add it to the wiki (and if not I'd be happy to beg Rogean until he does it). But without that, you may be waiting a long time for a fix [You must be logged in to view images. Log in or Register.]
__________________
Loramin Frostseer <Anonymous>, Hetch<Anonymous>, Tecla <Kingdom>, ... Check out the "Where To Go For XP/For Treasure?" Guides Anyone can improve the wiki! If you are new to the Blue or Green servers, you can improve the wiki to earn a "welcome package" of platinum and/or gear! Send me a forum message for details. | |||
|
#2
|
|||
|
P.S. The relevant file (for anyone who is curious) is "Magelo_body.php" in the "Magelo" folder. Even if you don't know PHP, but you have some programming background, the code is fairly straightforward and most programmers should be able to understand it.
For instance, here's the function to calculate total HP; as you can see it is fugly PHP code [You must be logged in to view images. Log in or Register.] ... but it is straightforward : Code:
function get_total_hp($level, $class, $sta, $item_hp)
{
$lmod = Magelo::get_class_level_factor($level,$class);
$post_255 = 0;
if ($sta-255/2 > 0)
$post_255 = ($sta-255/2);
$base_hp = (5)+($level*$lmod/10) + ((($sta-$post_255)*$level*$lmod/3000)) +
(($post_255*$level)*$lmod/6000);
$nd = 10000;
$max_hp = $base_hp + $item_hp;
$max_hp = ($max_hp * $nd) / 10000;
return round($max_hp);
}
__________________
Loramin Frostseer <Anonymous>, Hetch<Anonymous>, Tecla <Kingdom>, ... Check out the "Where To Go For XP/For Treasure?" Guides Anyone can improve the wiki! If you are new to the Blue or Green servers, you can improve the wiki to earn a "welcome package" of platinum and/or gear! Send me a forum message for details. | ||
|
#3
|
||||
|
Quote:
One of the wiki pages I found claimed STA soft caps at 255, but I ignored it because I don't believe stats have any effect post 255 in era, a belief the posters in this thread implicitly share. But, the code seems (without knowing php) to have an error: it calculates the post_255 sta as sta - 255/2 instead of sta - 255. This puts the soft cap at 127.5 instead of 255. Lobnor posted 181 sta, 2068 magelo hp, and 2148 game hp. Lets run the numbers on him. (181 - 127.5) = 53.5 sta that will only give half return on the magelo but full in game. And (53.5 * 3) / 2 = 80.25; sure enough 2068 + 80.25 = 2148.25. | |||
|
#4
|
|||
|
You guys always do this.
| ||
|
#5
|
|||
|
OP, rerolling to troll/iksar/ogre with 25 points into intelligence would result in a much better shaman than a barb who optimized his starting stats.
| ||
|
#7
|
||||
|
Quote:
| |||
|
#10
|
||||
|
Quote:
You basically right click one of the corners of the wall where the banker is on the other side and you can actually bank with them.
__________________
| |||
![]() |
|
|