fix(furling): Through Fire and Flames goes out when the player changes race
The ability is vanilla's Burning set to 999 minutes. FurlingRace.Update returned before ticking it for anyone who was not a Furling, and ResetRace never removed it, so the fire followed the player onto any race and came back visible if they picked the Furling again. The tick now runs for every race and puts out a Burning longer than an hour when the player is not a tier 8 Furling; ResetRace does the same at once.
This commit is contained in:
parent
19d331789a
commit
5af7c0205d
3 changed files with 33 additions and 5 deletions
|
|
@ -67,9 +67,9 @@ namespace RacesOfValheim
|
|||
|
||||
private void Update()
|
||||
{
|
||||
if (!IsFurling()) return;
|
||||
|
||||
// Through Fire and Flames (Fader)
|
||||
// Through Fire and Flames (Fader). Ticked for every race, not only the Furling: a
|
||||
// player who stops being a tier 8 Furling has to lose the fire, and nothing else would
|
||||
// be left running to notice.
|
||||
FurlingFireAbility.Tick();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue