void gain_exp( CHAR_DATA *ch, long double gain )
{
char buf[MAX_STRING_LENGTH];
/* int modgain;*/
long double modgain;
int energygain;
float pl_mult = 1;
int rank = 0, newRank = 0;
int trueRank = 0;
if ( IS_NPC(ch) )
return;
if (IS_IMMORTAL(ch))
return;
#define MAX_PLR_EXP 300000
void gain_exp( CHAR_DATA *ch, long double gain )
{
char buf[MAX_STRING_LENGTH];
/* int modgain;*/
long double modgain;
int energygain;
float pl_mult = 1;
int rank = 0, newRank = 0;
int trueRank = 0;
if ( IS_NPC(ch) )
return;
if (IS_IMMORTAL(ch))
return;
if( ch->exp >= MAX_PLR_EXP )
return;
void gain_exp( CHAR_DATA *ch, long double gain )
{
char buf[MAX_STRING_LENGTH];
/* int modgain;*/
long double modgain;
int energygain;
float pl_mult = 1;
int rank = 0, newRank = 0;
int trueRank = 0;
if ( IS_NPC(ch) )
return;
if (IS_IMMORTAL(ch))
return;
#define MAX_PLR_EXP 25000000000000ULL //Added this in as is, 30000 set their max base pl at 30000 (ULL is so it
//doesn't say warning: integer constant is too large for 'long' type
if( ch->exp >= MAX_PLR_EXP )
return; //I have tested it like this (added to update.c) and my characters cannot gain over
//25trill pl but they can still use their transformations, just what I wanted.
modgain = gain;
else if (ch->exp < 1000000000ULL)
return ("Level 9");
else if (ch->exp < 1500000000ULL)
return ("Level 10");
else if (ch->exp < 3000000000ULL)
return ("Level 11");
else if (ch->exp < 5000000000ULL)
return ("Level 12");
else if (ch->exp < 10000000000ULL)
return ("Level 13");
else if (ch->exp < 15000000000ULL)
return ("Level 14");
else if (ch->exp < 20000000000ULL)
return ("Level 15");
The Unknown,
Zeno Mcdohl is bottig.
—————————————————————————-
RACE : Saiyan SEX: Male Played: 670 hours
YEARS: 22 Created: Thu Aug 29 14:18:14 2002
STR : 100(100.00) DAM+: 5 Log in: Wed Oct 15 19:16:19 2003
SPD : 100(100.00) pDEF: 8 Last Saved: Wed Oct 15 19:26:16 2003
INT : 100(100.00) eDEF: 4 CurrTime: Wed Oct 15 19:26:16 2003
CON : 100(100.00) Armor: 0, improper for a battle
Align: fiendish Items: 0 (max 20)
Glory: 0/0 Pos'n: resting Weight: 0 (max 500)
Wimpy: 0 Style: evasive
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
TRAIN: 0 Lifeforce: [ 15]% AutoCompass: (X) AutoZeni: (X)
Energy: [ 6,000/99,999] AutoExit: (X) AutoLoot: (X)
ZENI : 625,255 AutoSac: (X)
BASE POWERLEVEL: 623,072,521
CURR POWERLEVEL: 623,072,521
GAIN POWERLEVEL: 177,904
PKills: [00230] PDeaths: [00244] SparWins: [00760]
MKills: [09769] MDeaths: [00016] SparLoss: [00968]
You feel great.
—————————————————————————-