Initial Commit

Initial Commit
This commit is contained in:
Jaysyn904
2025-04-03 11:24:16 -04:00
parent 3ba3cf1b81
commit 5e558169a0
6086 changed files with 1502996 additions and 1 deletions

View File

@@ -0,0 +1,29 @@
#include "in_g_cutscene"
void main()
{
object oPC = GetLastSpeaker();
int iScore = GetLocalInt(oPC, "a_score");
int iFs;
float fPerc;
int iPerc;
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 (iSwing!=0){fPerc = (IntToFloat(iHit) / IntToFloat(iSwing))*100;}
else {fPerc = 0.0;}
iPerc = FloatToInt(fPerc);
GestaltSpeak(0.0, OBJECT_SELF,
"You unleashed "+IntToString(iSwing)+" attacks and succeeded with "+IntToString(iPerc)+
"% of them"
,ANIMATION_FIREFORGET_VICTORY3);
}