AngeliA
Search Results for

    Show / Hide Table of Contents

    Struct Damage

    Data structure for a single damage performed

    Constructors

    Damage(int, int, Entity, Tag)

    Data structure for a single damage performed

    Declaration
    public Damage(int amount, int targetTeam = 15, Entity bullet = null, Tag type = Tag.PhysicalDamage)
    Parameters
    Type Name Description
    int amount

    How many damage it deals

    int targetTeam

    What team does it attacks

    Entity bullet

    Which bullet does it came from

    Tag type

    What special type does it holds

    Fields

    Amount

    Declaration
    public int Amount

    Bullet

    Declaration
    public Entity Bullet

    IgnoreInvincible

    Do not make target become invincible after take this damage

    Declaration
    public bool IgnoreInvincible

    IgnoreStun

    Do not make target stun after take this damage

    Declaration
    public bool IgnoreStun

    TargetTeam

    Declaration
    public int TargetTeam

    Type

    Declaration
    public Tag Type

    Methods

    DamageUpdateFromLevel()

    Declaration
    [OnGameUpdateLater(0)]
    public static void DamageUpdateFromLevel()
    Back to top ๐Ÿ„๐Ÿฆโ€โฌ›๐Ÿงฆ๐Ÿˆ๐ŸŽƒ๐Ÿ’“๐ŸŒนโ˜•๐Ÿดโ€โ˜ ๏ธ๐Ÿค