Alangara_PRC8/_module/nss/jh_bnk_x_43.nss

18 lines
276 B
Plaintext
Raw Permalink Normal View History

2024-06-05 21:21:06 -04:00
/*
Take 10 gold from the account!
*/
void main()
{
int nInt;
string sName;
sName =GetTag(OBJECT_SELF);
nInt = GetCampaignInt("bnkblnc"+sName,"bnkblnc_"+sName);
nInt -=10;
SetCampaignInt("bnkblnc"+sName,"bnkblnc_"+sName,nInt);
GiveGoldToCreature(GetPCSpeaker(),10);
}