more php help
im trying to get the players hp mana and ac
i think the calculations are all wrong becuase there not coming up the same in the game as they are on my website. i used code from the old magelo clone and the server scorce file client_mods.cpp her is what im using. Code:
function getACmod($agility, $level) { |
think i got the ac and hp calculations working now.. have not fully tested will let you know.. have not got mana working right yet..
btw for all to know im working on a new version of the magelo clone.. using code from the old clone.. so if the person that made the old clone is still around and has a problem with that let me know before i get it done and post it for all.. but i did not see anything saying i could not. anyways any help on mana would be nice? |
well it seems the hp caculation is not working.. its fine on low lvl chars and such but when i loaded up a monk lvl 75 with 760 aa's it is like 1k off anyone know y? do monks get a hp bonus at higher lvls or something? im checking for all the aas that give hp im pritty sure.. here is my hp code.
Code:
$hp = MaxHP($class, $level, $sta, $itemHP); |
also i have a problem with the ac calculation on a monk anyone got any info on that? seems they get a bonus with less weight and a penalty with more.
|
All times are GMT -4. The time now is 06:30 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.