Show / Hide Table of Contents

    Interface IMonsterTypeEntity

    Interface for 'types of monster' entities.

    Inherited Members
    IIdentifiableEntity.Id
    Namespace: Fibula.Data.Entities.Contracts.Abstractions
    Assembly: Fibula.Data.Entities.Contracts.dll
    Syntax
    public interface IMonsterTypeEntity : IIdentifiableEntity, IEntity

    Properties

    | Improve this Doc View Source

    Article

    Gets the article to use with the name.

    Declaration
    string Article { get; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    BaseArmorRating

    Gets the base armor rating for this type of monster.

    Declaration
    ushort BaseArmorRating { get; }
    Property Value
    Type Description
    System.UInt16
    | Improve this Doc View Source

    BaseAttack

    Gets the base attack for this type of monster.

    Declaration
    ushort BaseAttack { get; }
    Property Value
    Type Description
    System.UInt16
    | Improve this Doc View Source

    BaseDefense

    Gets the base defense for this type of monster.

    Declaration
    ushort BaseDefense { get; }
    Property Value
    Type Description
    System.UInt16
    | Improve this Doc View Source

    BaseExperienceYield

    Gets the amount of experience that this type of monster deals.

    Declaration
    uint BaseExperienceYield { get; }
    Property Value
    Type Description
    System.UInt32
    | Improve this Doc View Source

    BaseSpeed

    Gets the base movement speed for this type of monster.

    Declaration
    ushort BaseSpeed { get; }
    Property Value
    Type Description
    System.UInt16
    | Improve this Doc View Source

    BloodType

    Gets the type of blood of this monster type.

    Declaration
    BloodType BloodType { get; }
    Property Value
    Type Description
    BloodType
    | Improve this Doc View Source

    Capacity

    Gets the maximum capacity for this type of monster.

    Declaration
    ushort Capacity { get; }
    Property Value
    Type Description
    System.UInt16
    | Improve this Doc View Source

    Corpse

    Gets this type of monster's corpse item type id.

    Declaration
    ushort Corpse { get; }
    Property Value
    Type Description
    System.UInt16
    | Improve this Doc View Source

    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.

    | Improve this Doc View Source

    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
    | Improve this Doc View Source

    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>>
    | Improve this Doc View Source

    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
    | Improve this Doc View Source

    MaxHitpoints

    Gets the maximum hitpoints that this monster type starts with.

    Declaration
    ushort MaxHitpoints { get; }
    Property Value
    Type Description
    System.UInt16
    | Improve this Doc View Source

    Name

    Gets the name of the monster type.

    Declaration
    string Name { get; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    Outfit

    Gets this type of monster outfit.

    Declaration
    Outfit Outfit { get; }
    Property Value
    Type Description
    Outfit
    | Improve this Doc View Source

    Phrases

    Gets the phrases that this monster type uses.

    Declaration
    IList<string> Phrases { get; }
    Property Value
    Type Description
    System.Collections.Generic.IList<System.String>
    | Improve this Doc View Source

    RaceId

    Gets the id of the monster race.

    Declaration
    ushort RaceId { get; }
    Property Value
    Type Description
    System.UInt16
    | Improve this Doc View Source

    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>>
    | Improve this Doc View Source

    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>
    | Improve this Doc View Source

    SummonCost

    Gets the base cost to summon this type of monster.

    Declaration
    ushort SummonCost { get; }
    Property Value
    Type Description
    System.UInt16

    Extension Methods

    ObjectExtensions.YieldSingleItem<T>(T)
    ObjectExtensions.GetPropertyValue(Object, String)
    Validate.ThrowIfNull(Object, String)
    MonsterTypeEntityExtensions.HasCreatureFlag(IMonsterTypeEntity, CreatureFlag)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2018-2020 | The Fibula Project
    Generated using DocFX | Jose L. Nuñez de Caceres et al.