Some cleanups

This commit is contained in:
hondacrx
2021-07-08 13:01:46 -04:00
parent 970ac30730
commit 50fcbd3aaf
9 changed files with 14 additions and 23 deletions
+2 -2
View File
@@ -1257,7 +1257,7 @@ namespace Game.Entities
public override void UpdateAttackPowerAndDamage(bool ranged = false)
{
float val2 = 0.0f;
float val2;
float level = GetLevel();
var entry = CliDB.ChrClassesStorage.LookupByKey(GetClass());
@@ -2114,7 +2114,7 @@ namespace Game.Entities
public override void CalculateMinMaxDamage(WeaponAttackType attType, bool normalized, bool addTotalPct, out float minDamage, out float maxDamage)
{
float variance = 1.0f;
float variance;
UnitMods unitMod;
switch (attType)
{