how do you calculate HP from constitution?

how do you calculate mana from intelligence?

show me your way(s).

i'm doing an RPG.

one more:

how do I find out how many lines are there with ifstream?

Printable View

- 01-01-2003Yoshi1 question (well... 2 to be exact)
how do you calculate HP from constitution?

how do you calculate mana from intelligence?

show me your way(s).

i'm doing an RPG.

one more:

how do I find out how many lines are there with ifstream? - 01-01-2003...
how you calculate hp and mana is up to your own imagination.

some games have stats directly equal to attributes. such as 50 intelligence gives 50 mana.

others do formulas to decide stats. like, say, mana = 1.5 x int, so 50 int gives 75 mana.

others keep them entirely seperate. for example, a character can get mana + ( int / 2 ) mana per level, and intelligence only gives percent chance to cast spells or something, so if a character starts with a D&D 14 intelligence, they get 7 extra mana per level and have, say 80% chance to cast spells of their own level, and a higher % for every level lower.

its entirely up to you how you want your game to be played, and whether attributes will increase over time like most MMORPGs or stay the same, like D&D. - 01-01-2003compjinxQuote:

how do I find out how many lines are there with ifstream?

Of course someone will come along and show how inefficient this is and devise a replacement.