TheHordeOrcs_PRC8/_module/nss/ho_lvlup_pc.nss
Jaysyn904 defc8f9f6d Re-uploaded instead of migrated
Re-uploaded instead of migrated.
2024-08-03 15:05:13 -04:00

23 lines
607 B
Plaintext

#include "x0_i0_partywide"
void main()
{
//:: Declare major variables
object oPC = GetEnteringObject();
string sTag = GetTag(OBJECT_SELF);
int iParty = GetNumberPartyMembers(oPC);
int iXP = GetXP(oPC);
//:: Parties larger than 2 shouldn't need a boost.
if (iParty >= 2) return;
//:: This boost is only availible to new characters
if (iXP > 0 ) return;
//:: Make sure they can only get the boost once if they are solo.
if (GetLocalInt(oPC, sTag) >= 1) return;
//ActionStartConversation(oPC, "ho_lvlup_pc", TRUE, FALSE);
BeginConversation("ho_lvlup_pc", oPC);
}