private void TalRashaElements(IPlayer me) { GreyBrush.DrawRectangle((hudWidth * 0.5f - _lRashaSize * .5f) - _lRashaSize * 1.6f, hudHeight * _lRashaYpos - _lRashaSize * 0.1f, _lRashaSize * 4.1f, _lRashaSize * 1.1f); if (me.Powers.BuffIsActive(429855, 1)) { ArcaneBrush.DrawRectangle((hudWidth * 0.5f - _lRashaSize * .5f) - _lRashaSize * 1.5f, hudHeight * _lRashaYpos, _lRashaSize * _lRashaSizeMod, _lRashaSize * _lRashaSizeMod); } else { DrawArcaneBackgroundBrush(-_lRashaSize * 1.5f); } if (me.Powers.BuffIsActive(429855, 2)) { ColdBrush.DrawRectangle((hudWidth * 0.5f - _lRashaSize * .5f) - _lRashaSize / 2, hudHeight * _lRashaYpos, _lRashaSize * _lRashaSizeMod, _lRashaSize * _lRashaSizeMod); } else { DrawColdBackgroundBrush(-_lRashaSize / 2); } if (me.Powers.BuffIsActive(429855, 3)) { FireBrush.DrawRectangle((hudWidth * 0.5f - _lRashaSize * .5f) + _lRashaSize / 2, hudHeight * _lRashaYpos, _lRashaSize * _lRashaSizeMod, _lRashaSize * _lRashaSizeMod); } else { DrawFireBackgroundBrush(_lRashaSize / 2); } if (me.Powers.BuffIsActive(429855, 4)) { LightningBrush.DrawRectangle((hudWidth * 0.5f - _lRashaSize * .5f) + _lRashaSize * 1.5f, hudHeight * _lRashaYpos, _lRashaSize * _lRashaSizeMod, _lRashaSize * _lRashaSizeMod); } else { DrawLightningBackgroundBrush(_lRashaSize * 1.5f); } }
private void DrawGreyBrush(float xPos) { GreyBrush.DrawRectangle((HudWidth * 0.5f - _lRashaSize * .5f) + xPos, HudHeight * RashaIndicatorsYpos, _lRashaSize * _lRashaSizeMod, _lRashaSize * _lRashaSizeMod); }