Table of Contents

Class DungeonAttributeScalar

Namespace
FishMMO.Shared
Assembly
FishMMO.Shared.dll

One NPC attribute a difficulty scales, and by how much.

[Serializable]
public class DungeonAttributeScalar
Inheritance
DungeonAttributeScalar
Inherited Members

Remarks

Named rather than inferred. There is no built-in notion of which attribute represents an enemy's damage — that is a decision each build makes when it authors its attribute templates — so a difficulty says which attributes it changes instead of guessing at a classification that may not exist.

Fields

Multiplier

Multiplier applied to it. 1 leaves it alone.

[Tooltip("Multiplier applied to that attribute. 1 leaves it unchanged.")]
[Min(0.01)]
public float Multiplier

Field Value

float

Template

The attribute to scale.

[Tooltip("The NPC attribute to scale inside the instance.")]
public CharacterAttributeTemplate Template

Field Value

CharacterAttributeTemplate