Home | History | Annotate | Download | only in phantasia

Lines Matching defs:statptr

31 	const struct charstats *statptr; /* for pointing into Stattable */
39 statptr = &Stattable[(int) ROLL(C_MAGIC, C_HALFLING - C_MAGIC + 1)];
41 statptr = Statptr;
48 Player.p_strength += statptr->c_strength.increase * inc;
49 Player.p_mana += statptr->c_mana.increase * inc;
50 Player.p_brains += statptr->c_brains.increase * inc;
51 Player.p_magiclvl += statptr->c_magiclvl.increase * inc;
52 Player.p_maxenergy += statptr->c_energy.increase * inc;
795 dtemp = ((Player.p_gold + Player.p_gems / 2.0) - 1000.0) / Statptr->c_goldtote
804 dtemp = 1.0 - Player.p_poison * Statptr->c_weakness / 800.0;
813 Player.p_level * Statptr->c_maxmana + 1000.0);
815 Player.p_level * Statptr->c_maxbrains + 200.0);