13 lines
362 B
Plaintext
13 lines
362 B
Plaintext
|
// vamp_act_count
|
||
|
void main()
|
||
|
{
|
||
|
object oPC=GetPCSpeaker();
|
||
|
int nBlood=GetLocalInt(oPC,"nBloodPool");
|
||
|
int nXP=GetLocalInt(oPC,"nVampireXP");
|
||
|
int nLvl=1+(nXP/5000);
|
||
|
string sMsg;
|
||
|
if (nLvl>5) nLvl=5;
|
||
|
sMsg=IntToString(nBlood)+"/150 and "+IntToString(nXP)+" vampire experience with a level of "+IntToString(nLvl);
|
||
|
SetCustomToken(93000,sMsg);
|
||
|
}
|