41 lines
1.4 KiB
Plaintext
41 lines
1.4 KiB
Plaintext
////////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Olander's Player Stat's
|
|
// opw_conv_kills
|
|
// By:Don Anderson
|
|
// dandersonru@msn.com
|
|
//
|
|
// This is called from the Rest Menu
|
|
//
|
|
////////////////////////////////////////////////////////////////////////////////
|
|
|
|
#include "nbde_inc"
|
|
#include "opw_inc_pstat"
|
|
|
|
void main()
|
|
{
|
|
object oPC = GetPCSpeaker();
|
|
|
|
//Name of Player Character
|
|
string sPC = GetName(oPC);
|
|
DelayCommand(1.0,FloatingTextStringOnCreature(BLUISHG+"Stats for "+BLUISHR+sPC,oPC,FALSE));
|
|
DelayCommand(1.5,FloatingTextStringOnCreature("",oPC,FALSE));
|
|
|
|
//Player Character Total NPC Kills
|
|
string sNPCKills = GetTotalNPCKills(oPC);
|
|
DelayCommand(2.0,FloatingTextStringOnCreature(GRAY+"Total NPC Kills: "+WHITE+sNPCKills,oPC,FALSE));
|
|
|
|
//Player Character Total PC Kills
|
|
string sPCKills = GetTotalPCKills(oPC);
|
|
DelayCommand(3.0,FloatingTextStringOnCreature(GRAY+"Total Player Kills: "+WHITE+sPCKills,oPC,FALSE));
|
|
|
|
//Player Character Average Kill CR
|
|
string sCCRating = GetAverageCRofPlayersKills(oPC);
|
|
DelayCommand(4.0,FloatingTextStringOnCreature(GRAY+"Average Kill CR: "+WHITE+sCCRating,oPC,FALSE));
|
|
|
|
//Player Character Strongest Kill
|
|
string sHighestCR = GetHighestCR(oPC);
|
|
string sStrongestC = GetStrongestCreatureName(oPC);
|
|
DelayCommand(5.0,FloatingTextStringOnCreature(GRAY+"Strongest Kill: "+WHITE+sStrongestC+" CR: "+sHighestCR,oPC,FALSE));
|
|
}
|