Skip to content

Commit

Permalink
Update Thunderstorm.cs
Browse files Browse the repository at this point in the history
Current Thunderstorm range is up to 8 if we don't include caster's tile.

UOGuide says range is up to 10 tiles from caster (I guess this includes caster's tile): http://www.uoguide.com/Thunderstorm

stratics says Area of Effect: 3 tile radius (+1 per Focus level) (I guess this doesn't include caster's tile because it says area of effect) https://stratics.com/w/index.php?title=UO:Thunderstorm

Our code shoud be AcquireIndirectTargets(Caster.Location, 3 + FocusLevel)
  • Loading branch information
bsenyuva committed Feb 3, 2019
1 parent c3502d3 commit 9a8ba9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Scripts/Spells/Spellweaving/Thunderstorm.cs
Expand Up @@ -85,7 +85,7 @@ public override void OnCast()

TimeSpan duration = TimeSpan.FromSeconds(5 + FocusLevel);

foreach (var m in AcquireIndirectTargets(Caster.Location, 2 + FocusLevel).OfType<Mobile>())
foreach (var m in AcquireIndirectTargets(Caster.Location, 3 + FocusLevel).OfType<Mobile>())
{
Caster.DoHarmful(m);

Expand All @@ -110,4 +110,4 @@ public override void OnCast()
FinishSequence();
}
}
}
}

0 comments on commit 9a8ba9d

Please sign in to comment.