HoS_PRC8/_mod/_module/nss/at_sadv_mana.nss

15 lines
327 B
Plaintext
Raw Normal View History

2024-11-25 19:36:07 -05:00
#include "rtsh_multiplay"
void main()
{
object oPC=GetPCSpeaker();
int nMana=fnGetTeamMana(oPC);
string sID=GetLocalString(OBJECT_SELF,"sTeamID");
int nGold=22;
if (sID=="DWF") nGold=5;
else if (sID=="UND") nGold=50;
else if (sID=="UNC") nGold=15;
nMana=nMana+nGold;
fnSetTeamMana(oPC,nMana);
}