Class RawMonsterSpell
Class that represents a raw monster spell rule.
Inheritance
System.Object
RawMonsterSpell
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Fibula.Parsing.Contracts.Models
Assembly: Fibula.Parsing.Contracts.dll
Syntax
public class RawMonsterSpell
Constructors
| Improve this Doc View SourceRawMonsterSpell(IEnumerable<String>, IEnumerable<String>, String)
Initializes a new instance of the RawMonsterSpell class.
Declaration
public RawMonsterSpell(IEnumerable<string> conditions, IEnumerable<string> effects, string chance)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<System.String> | conditions | The conditions for the spell. |
System.Collections.Generic.IEnumerable<System.String> | effects | The effects of the spell. |
System.String | chance | The chance of the spell. |
Properties
| Improve this Doc View SourceChance
Gets the chance of this spell being picked.
Declaration
public byte Chance { get; }
Property Value
Type | Description |
---|---|
System.Byte |
ConditionSet
Gets the set of conditions for this rule.
Declaration
public IList<string> ConditionSet { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<System.String> |
EffectSet
Gets the set of effects for this rule.
Declaration
public IList<string> EffectSet { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<System.String> |