Files
Anphillia_PRC8/_module/nss/anph_raut_surndr.nss
Jaysyn904 28cdb617b3 Initial commit
Adding all of the current content for Anphillia Unlimited.
2024-01-04 07:49:38 -05:00

27 lines
592 B
Plaintext

void main()
{
int nUser;
nUser = GetUserDefinedEventNumber ();
// SpeakString("Ouch, that hurts - " + IntToString (nUser));
/* Damaged */
if(nUser == 1006)
{
string sTeam;
object oPC;
object oMarker;
int nMaxHP = GetMaxHitPoints();
int nCurrHP = GetCurrentHitPoints();
if((nCurrHP * 3) <= nMaxHP)
{
SpeakString ("You win! We stop! We stop! Yous crazy!", TALKVOLUME_TALK);
ClearAllActions();
SurrenderToEnemies();
SpeakOneLinerConversation();
}
}
}