diff --git a/EndlessClient/Rendering/Effects/EffectSpriteManager.cs b/EndlessClient/Rendering/Effects/EffectSpriteManager.cs index 6c2454609..f0c8f5264 100644 --- a/EndlessClient/Rendering/Effects/EffectSpriteManager.cs +++ b/EndlessClient/Rendering/Effects/EffectSpriteManager.cs @@ -64,10 +64,15 @@ public IList GetEffectInfo(EffectType effectType, int effectI private IList ResolvePotionEffect(HardCodedPotionEffect effect) { - var retList = _potionEffects[effect]; - foreach(var item in retList) - item.Restart(); - return new List(retList); + if (_potionEffects.ContainsKey(effect)) + { + var retList = _potionEffects[effect]; + foreach (var item in retList) + item.Restart(); + } + + // potion graphics that aren't in the hard-coded list here use the same formula as spell graphics + return ResolveSpellEffect((HardCodedSpellGraphic)effect+1); } private IList ResolveSpellEffect(HardCodedSpellGraphic effect)