14 lines
293 B
Plaintext
14 lines
293 B
Plaintext
|
#include "rtsh_multiplay"
|
||
|
|
||
|
int StartingConditional()
|
||
|
{
|
||
|
object oPC=GetPCSpeaker();
|
||
|
int nParm=GetLocalInt(oPC,"nParm");
|
||
|
int nCost=10;
|
||
|
if (nParm==1) nCost=25;
|
||
|
else if (nParm==2) nCost=30;
|
||
|
int nMana=fnGetTeamMana(oPC);
|
||
|
if (nMana<nCost) return TRUE;
|
||
|
return FALSE;
|
||
|
}
|