44 lines
1.2 KiB
Plaintext
44 lines
1.2 KiB
Plaintext
void DeathStats2 (object oPC)
|
|
{
|
|
object oMod = GetModule();
|
|
int oDam = GetTotalDamageDealt();
|
|
|
|
int oHWhit = GetLocalInt(oPC, "pc_HWhit");
|
|
int oHit = GetLocalInt(oPC, "pc_hit");
|
|
int oPCdam = GetLocalInt(oPC, "player_dd");
|
|
int oHWdam = GetLocalInt(oPC, "pc_HWdam");
|
|
int iCHhit = GetLocalInt(oPC, "pc_CHhit");
|
|
int iCHdam = GetLocalInt(oPC, "pc_CHdam");
|
|
int iSFhit = GetLocalInt(oPC, "pc_SFhit");
|
|
int iSFdam = GetLocalInt(oPC, "pc_SFdam");
|
|
int iFBhit = GetLocalInt(oPC, "pc_FBhit");
|
|
int iFBdam = GetLocalInt(oPC, "pc_FBdam");
|
|
int iArenaChall = GetLocalInt(oMod, "challenge");
|
|
int iSFDuel = GetLocalInt(oMod, "duel_on");
|
|
int iFinalBattle = GetLocalInt(oPC, "final_on");
|
|
|
|
SetLocalInt(oPC, "pc_HWhit", ++oHWhit);
|
|
SetLocalInt(oPC, "pc_hit", ++oHit);
|
|
SetLocalInt(oPC, "player_dd", oPCdam+oDam);
|
|
SetLocalInt(oPC, "pc_HWdam", oHWdam+oDam);
|
|
|
|
if (iArenaChall==1)
|
|
{
|
|
SetLocalInt(oPC, "pc_CHhit", ++iCHhit);
|
|
SetLocalInt(oPC, "pc_CHdam", iCHdam+oDam);
|
|
}
|
|
if (iSFDuel==1)
|
|
{
|
|
SetLocalInt(oPC, "pc_SFhit", ++iSFhit);
|
|
SetLocalInt(oPC, "pc_SFdam", iSFdam+oDam);
|
|
|
|
}
|
|
if (iFinalBattle==1)
|
|
{
|
|
SetLocalInt(oPC, "pc_FBhit", ++iFBhit);
|
|
SetLocalInt(oPC, "pc_FBdam", iFBdam+oDam);
|
|
}
|
|
}
|
|
|
|
//void main(){}
|