27 lines
709 B
Plaintext
27 lines
709 B
Plaintext
#include "in_g_cutscene"
|
|
|
|
void main()
|
|
{
|
|
object oPC = GetLastSpeaker();
|
|
int iScore = GetLocalInt(oPC, "a_score");
|
|
int iFs;
|
|
int iAv;
|
|
int iDied = GetLocalInt (oPC,"iDied");
|
|
int iKilled = GetLocalInt (oPC,"iKilled");
|
|
int iDam = GetLocalInt(oPC, "player_dd");
|
|
int iHit = GetLocalInt(oPC, "pc_hit");
|
|
int iSwing = GetLocalInt(oPC, "pc_swing");
|
|
string sRank = GetLocalString(oPC, "rank");
|
|
int iRankNo = GetLocalInt(oPC, "status");
|
|
|
|
if (iHit!=0){iAv = iDam / iHit; }
|
|
else {iAv = 0;}
|
|
|
|
GestaltSpeak(0.0, OBJECT_SELF,
|
|
"You dealt a total of "+IntToString(iDam)+" damage with an average strike dealing "+IntToString(iAv)+
|
|
" points"
|
|
,ANIMATION_FIREFORGET_VICTORY3);
|
|
}
|
|
|
|
|