fix(trenta): Purple Rain heals the Trenta who casts it
The heal skipped the caster, so a lone Trenta cast a heal that touched no one. The caster now gets the same flat heal as its allies; the compendium line and the config description say so.
This commit is contained in:
parent
373b0069dd
commit
87db3e03a6
5 changed files with 8 additions and 4 deletions
|
|
@ -194,6 +194,10 @@ namespace RacesOfValheim
|
|||
|
||||
SpawnPurpleRainVfx(player);
|
||||
|
||||
// The Trenta stands in its own rain and is healed by it too. It used to be left out, so
|
||||
// a lone Trenta cast a heal that never touched anyone.
|
||||
player.Heal(TrentaConfig.PurpleRainHealAmount, true);
|
||||
|
||||
HashSet<Character> hit = new HashSet<Character>();
|
||||
foreach (Collider collider in Physics.OverlapSphere(player.transform.position, TrentaConfig.PurpleRainRadius))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue