Skip to content

Tutorials » Combat Rotation » Step 2: Vars



In the upper part of the template, we find some standard variables.


Vars
// ######################################################################
// VARS
// ######################################################################

private Client GC { get; set; } = null!;
public double CombatDistance { get; } = 3.0;

The abbreviation GC stands for GameClient and is your interface for controlling your character and the GameClient itself. Leave it as it is. 👍


CombatDistance specifies the maximum distance in yards from the opponent within which your character should remain during combat. Adjust this number accordingly. We recommend 3 for melee and 25 for range.