Set quest side to scav when generated for fence
This commit is contained in:
parent
b8738474e5
commit
f70cbcced7
@ -306,6 +306,12 @@ export class RepeatableQuestGenerator
|
|||||||
|
|
||||||
const quest = this.generateRepeatableTemplate("Elimination", traderId,repeatableConfig.side) as IElimination;
|
const quest = this.generateRepeatableTemplate("Elimination", traderId,repeatableConfig.side) as IElimination;
|
||||||
|
|
||||||
|
// ASSUMPTION: All fence quests are for scavs
|
||||||
|
if (traderId === Traders.FENCE)
|
||||||
|
{
|
||||||
|
quest.side = "Scav";
|
||||||
|
}
|
||||||
|
|
||||||
quest.conditions.AvailableForFinish[0]._props.counter.id = this.objectId.generate();
|
quest.conditions.AvailableForFinish[0]._props.counter.id = this.objectId.generate();
|
||||||
quest.conditions.AvailableForFinish[0]._props.counter.conditions = [];
|
quest.conditions.AvailableForFinish[0]._props.counter.conditions = [];
|
||||||
if (locationKey !== "any")
|
if (locationKey !== "any")
|
||||||
|
Loading…
Reference in New Issue
Block a user