// RTS Header - By Deva Bryson Winblood // More than 4 player support functions // Get the team mana int fnGetTeamMana(object oPC); // Set the team mana void fnSetTeamMana(object oPC,int nAmount); // Get the team souls int fnGetTeamSouls(object oPC); // Set team souls void fnSetTeamSouls(object oPC,int nAmount); int fnGetTeamMana(object oPC) { // get amount of mana team has int nRet=0; object oMod=GetModule(); string sID=GetLocalString(oPC,"sTeamID"); object oLead=GetLocalObject(oMod,"oTeamLead"+sID); nRet=GetLocalInt(oLead,"nManaStore"); return nRet; } // fnGetTeamMana() void fnSetTeamMana(object oPC,int nAmount) { // set how much mana the team has object oMod=GetModule(); string sID=GetLocalString(oPC,"sTeamID"); object oLead=GetLocalObject(oMod,"oTeamLead"+sID); int nBefore=GetLocalInt(oLead,"nManaStore"); SetLocalInt(oLead,"nManaStore",nAmount); if (nBefore