ace/Source/ACE.Server/Entity/Range.cs
gmriggs a705272f5a
Adding centralized damage calculation function (#1446)
* Adding enchantments for items wielded by monsters / NPCs

* Adding support for more motion states (still needs data fixes)

* Adding DR/DRR from base properties for ToD monsters

* Adding centralized damage calculation function

* Adding support for monster armor layering

* updating RL calcs

* additional RL updates

* removing debug logic

* Adding line for monster ranged combat

* porting fix from 1445

* Adjusting Armor Rending to also reduce physical armor
2019-02-20 17:33:48 -05:00

27 lines
489 B
C#

using System;
using System.Collections.Generic;
using System.Text;
namespace ACE.Server.Entity
{
public class Range
{
public float Min;
public float Max;
public float Avg;
public Range() { }
public Range(float min, float max)
{
Min = min;
Max = max;
Avg = (Min + Max) / 2.0f;
}
public override string ToString()
{
return $"{Min} - {Max}";
}
}
}