Jump to content

Elin:Code Analysis/Combat: Difference between revisions

m
no edit summary
mNo edit summary
Line 59: Line 59:
  if (!this.IsPCFaction && this.LV > 50)
  if (!this.IsPCFaction && this.LV > 50)
  {
  {
     CS$<>8locals1.dmg = CS$<>8locals1.dmg * (100 - (int)Mathf.Min(80f, Mathf.Sqrt((float)(this.LV - 50)) * 2.5f)) / 100;
     dmg = dmg * (100 - (int)Mathf.Min(80f, Mathf.Sqrt((float)(this.LV - 50)) * 2.5f)) / 100;
  }
  }
The above code was provided by the discord user: mRain




1

edit