public static void DrawAllSpellRange(Color RGB) { foreach (string RangeSlot in RangeSlotList) { float SpellRange = SpellBook.SpellDB[RangeSlot].ToObject <JObject>()["Range"][0] .ToObject <float>(); if (UsedRangeSlotsList.Count != 0) { if (!UsedRangeSlotsList.Contains(SpellRange)) { UsedRangeSlotsList.Add(SpellRange); } } else { UsedRangeSlotsList.Add(SpellRange); } } foreach (float Range in UsedRangeSlotsList) { DrawFactory.DrawCircleRange(GetPosition(), Range, RGB, 2.5f); } }
public static void DrawSpellRange(SpellBook.SpellSlot Slot, Color Colour, float Thickness) { if (IsVisible() && GetCurrentHealth() > 1.0f) { DrawFactory.DrawCircleRange(GetPosition(), SpellBook.GetSpellRadius(Slot), Colour, Thickness); } }
public static void DrawAttackRange(Color Colour, float Thickness) { if (IsVisible() && GetCurrentHealth() > 1.0f) { DrawFactory.DrawCircleRange(GetPosition(), GetBoundingRadius() + GetAttackRange(), Colour, Thickness); } }