[HELP] mana

01/10/2009 10:13 TruthCo#1
This source ive got it to have about everything it needs, and it worked ok but a few problems it needed a def for basemaxmp so i looked at
Quote:
public uint BaseMaxHP()
{
Ready = false;
double hp = Vit * 24 + Str * 3 + Agi * 3 + Spi * 3;
if (Job == 11)
hp *= 1.05;
if (Job == 12)
hp *= 1.08;
if (Job == 13)
hp *= 1.1;
if (Job == 14)
hp *= 1.12;
if (Job == 15)
hp *= 1.15;
Ready = true;
return (uint)hp;
}
and i made a one for mana but i dont think i did it right because everytime i used a pot for mana it went up to 783 and stoppped
so i tried to fix by finding all

Quote:
BaseMaxHP()
and added BaseMaxMP() and ye it had codes infront of it but there was alot and the same error occured


so can anyone teach me why?
01/10/2009 13:58 damianpesta#2
I quess all you need to do is send Mana packet to get mana to work o.0 thats all...
01/10/2009 16:09 TruthCo#3
i have that all filled out can you look at my source, i have team viewer.

anyway it has all the things filled out but for some reason person before me who did this source made it unactive ( // ) and when i did actiavte it came up with the error above and said i need that i basically activated every mana thing