TSL_Community_Patch icon indicating copy to clipboard operation
TSL_Community_Patch copied to clipboard

Ramana doesn't cough up her wages

Open JCarter426 opened this issue 6 years ago • 2 comments
trafficstars

(reported by Sniggles)

Seems like the issue may be with the scripts only checking the player's base class and not accounting for the prestige class.

a_ramana_collect.ncs:
void main() {
	object oPC = GetFirstPC();
	int int1 = GetLevelByPosition(1, oPC);
	GiveGoldToCreature(oPC, (100 * int1));
	SetGlobalNumber("207TEL_Ramana_Level", int1);
}
c_global_lt_lev.ncs:
int StartingConditional() {
	string sParam = GetScriptStringParameter();
	int nGlobal = GetGlobalNumber(sParam);
	if ((nGlobal < GetLevelByPosition(1, GetFirstPC()))) {
		return 1;
	}
	return 0;
}

JCarter426 avatar Aug 20 '19 21:08 JCarter426

On this playthrough I've leveled up 7 times already since getting my prestige class and Ramana hasn't given wages for any of those level-ups. It seems like the prestige class transition breaks her entirely, at least with the builds.

Snigaroo avatar Nov 30 '19 01:11 Snigaroo

Also, provided Ramana and the Trandoshan representative of the Red Eclipse on Nar Shaddaa use the same code, they might need a look-over too. They probably suffer the same issue.

Snigaroo avatar Nov 30 '19 07:11 Snigaroo