Interface IMonsterTypeEntity
Interface for 'types of monster' entities.
Inherited Members
Namespace: Fibula.Data.Entities.Contracts.Abstractions
Assembly: Fibula.Data.Entities.Contracts.dll
Syntax
public interface IMonsterTypeEntity : IIdentifiableEntity, IEntity
Properties
| Improve this Doc View SourceArticle
Gets the article to use with the name.
Declaration
string Article { get; }
Property Value
Type | Description |
---|---|
System.String |
BaseArmorRating
Gets the base armor rating for this type of monster.
Declaration
ushort BaseArmorRating { get; }
Property Value
Type | Description |
---|---|
System.UInt16 |
BaseAttack
Gets the base attack for this type of monster.
Declaration
ushort BaseAttack { get; }
Property Value
Type | Description |
---|---|
System.UInt16 |
BaseDefense
Gets the base defense for this type of monster.
Declaration
ushort BaseDefense { get; }
Property Value
Type | Description |
---|---|
System.UInt16 |
BaseExperienceYield
Gets the amount of experience that this type of monster deals.
Declaration
uint BaseExperienceYield { get; }
Property Value
Type | Description |
---|---|
System.UInt32 |
BaseSpeed
Gets the base movement speed for this type of monster.
Declaration
ushort BaseSpeed { get; }
Property Value
Type | Description |
---|---|
System.UInt16 |
BloodType
Gets the type of blood of this monster type.
Declaration
BloodType BloodType { get; }
Property Value
Type | Description |
---|---|
BloodType |
Capacity
Gets the maximum capacity for this type of monster.
Declaration
ushort Capacity { get; }
Property Value
Type | Description |
---|---|
System.UInt16 |
Corpse
Gets this type of monster's corpse item type id.
Declaration
ushort Corpse { get; }
Property Value
Type | Description |
---|---|
System.UInt16 |
Flags
Gets the flags set for this type of monster.
Declaration
ulong Flags { get; }
Property Value
Type | Description |
---|---|
System.UInt64 |
Remarks
The flags are stored as bits in a 64 bit unsigned integer.
HitpointFleeThreshold
Gets the threshold value under which this type of monster begins to flee battle.
Declaration
ushort HitpointFleeThreshold { get; }
Property Value
Type | Description |
---|---|
System.UInt16 |
InventoryComposition
Gets the composition of the inventory that this type of monster has a chance to be created with.
Declaration
IList<(ushort typeId, byte maxAmount, ushort chance)> InventoryComposition { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<System.ValueTuple<System.UInt16, System.Byte, System.UInt16>> |
LoseTargetDistance
Gets the distance in tiles after which this type of monster looses track of their target.
Declaration
byte LoseTargetDistance { get; }
Property Value
Type | Description |
---|---|
System.Byte |
MaxHitpoints
Gets the maximum hitpoints that this monster type starts with.
Declaration
ushort MaxHitpoints { get; }
Property Value
Type | Description |
---|---|
System.UInt16 |
Name
Gets the name of the monster type.
Declaration
string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
Outfit
Gets this type of monster outfit.
Declaration
Outfit Outfit { get; }
Property Value
Type | Description |
---|---|
Outfit |
Phrases
Gets the phrases that this monster type uses.
Declaration
IList<string> Phrases { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<System.String> |
RaceId
Gets the id of the monster race.
Declaration
ushort RaceId { get; }
Property Value
Type | Description |
---|---|
System.UInt16 |
Skills
Gets the skills that this type of monster starts with.
Declaration
IDictionary<SkillType, (int DefaultLevel, int CurrentLevel, int MaximumLevel, uint TargetCount, uint CountIncreaseFactor, byte IncreaserPerLevel)> Skills { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IDictionary<SkillType, System.ValueTuple<System.Int32, System.Int32, System.Int32, System.UInt32, System.UInt32, System.Byte>> |
Strategy
Gets the fighting strategy of this type of monster.
Declaration
(byte switchToClosest, byte switchToLowestHp, byte switchToHigestDmgDealt, byte randomSwitch) Strategy { get; }
Property Value
Type | Description |
---|---|
System.ValueTuple<System.Byte, System.Byte, System.Byte, System.Byte> |
SummonCost
Gets the base cost to summon this type of monster.
Declaration
ushort SummonCost { get; }
Property Value
Type | Description |
---|---|
System.UInt16 |