Маска предков
Нежить
Ancestral Mask
SpectreY
Tagsghost, ghost_blood, karui, not_dex, not_str, slow_movement, Unarmed_onhit_audio, undead
Здоровье
70%
Energy Shield From Life
40%
Сопротивление
0 0 0 0
Damage
70%
Меткость
100%
Attack Distance
6 ~ 14
Время атаки
1.5 Second
Damage Spread
±20%
Опыт
70%
Model Size
150%
Type
KaruiSpiritSummon
Metadata
KaruiSpiritSummon
Уровень
68
Здоровье
3,258
Damage
163
Урон от чар
163
Меткость
2,464
Время атаки
1.5
Опыт
20,044
Minion Life
2,911
Minion Energy Shield
1,940
Minion Damage
678
Minion Armour
2,413
MeleeAtAnimationSpeed
Attack, RangedAttack, MirageArcherCanUse, Projectile, MeleeSingleTarget, Melee, ProjectilesFromUser
Обычная атака
Base Damage: 131–196
Время атаки: 1.5 сек.
action attack or cast time uses animation length [1]
projectile uses contact position [1]
skill can fire wand projectiles [1]
use scaled contact offset [1]
KaruiSpiritDodgeLeft
monster dodge distance [20]
KaruiSpiritDodgeRight
monster dodge direction [1]
monster dodge distance [20]

Object Type

version 2
extends "Metadata/Monsters/Monster"

StateMachine
{
	define_shared_state = "lock_on;"
	define_shared_state = "height;"
}

Stats
{
	strafe_distance_+% = -20
}

Actor
{
	basic_action = "Emerge"
}

DiesAfterTime
{
	//time_until_death = 7.5
	
}

Positioned
{
	collision_hull_type = "projectile"
}

Object Type Codes

version 2
extends "Metadata/Monsters/Monster"

StateMachine
{
	on_change_state_height = "Call( UpdateHeight );"
}


Life
{
	on_spawned_alive = "Call( UpdateHeight, true );	AddEffectPack( 'Metadata/Effects/Spells/monsters_effects/Act4_FOUR/KaruiSoulCaster/epk/alive.epk' );"
	on_death = "SetRenderHeightOffset( 0 );"
}

Render
{
	selection_height_override = 0
}


Functions
{
	// -200 counteracts their flying height
	UpdateHeight =
	"
		this.scaled_offset = 0 * GetScale();
		this.height = GetState( height ) + scaled_offset;
		SetRenderHeightOffset( height );
	"
}

Positioned
{
	on_movement_finished = "StartStateTimer( idle, 0.1 );"
}
-- src\Data\Spectres.lua
minions["Metadata/Monsters/KaruiSoulCaster/KaruiSpiritSummon"] = {
    name = "Ancestral Mask",
    life = 0.7,
    energyShield = 0.4,
    fireResist = 0,
    coldResist = 0,
    lightningResist = 0,
    chaosResist = 0,
    damage = 0.7,
    damageSpread = 0.2,
    attackTime = 1.5,
    attackRange = 14,
    accuracy = 1,
    skillList = {
        "MeleeAtAnimationSpeed",
        "KaruiSpiritDodgeLeft",
        "KaruiSpiritDodgeRight",
    },
    modList = {
    },
}
-- src\Data\Skills\spectre.lua
skills["MeleeAtAnimationSpeed"] = {
    name = "Basic Attack",
    hidden = true,
    color = ,
    baseEffectiveness = 0,
    incrementalEffectiveness = 0,
    skillTypes = {
        [SkillType.Attack] = true,
        [SkillType.RangedAttack] = true,
        [SkillType.MirageArcherCanUse] = true,
        [SkillType.Projectile] = true,
        [SkillType.MeleeSingleTarget] = true,
        [SkillType.Melee] = true,
        [SkillType.ProjectilesFromUser] = true,
    },
    statDescriptionScope = "skill_stat_descriptions",
    castTime = 1,
    baseFlags = {
        attack = true,
        melee = true,
        projectile = true,
    },
    baseMods = {
    },
    qualityStats = {
    },
    stats = {
        "skill_can_fire_arrows",
        "skill_can_fire_wand_projectiles",
        "action_attack_or_cast_time_uses_animation_length",
        "projectile_uses_contact_position",
        "use_scaled_contact_offset",
    },
    levels = {
        [1] = {levelRequirement = 1, statInterpolation = {},  cost = { }, },
    },
}
-- src\Data\Skills\spectre.lua
skills["KaruiSpiritDodgeLeft"] = {
    name = "KaruiSpiritDodgeLeft",
    hidden = true,
    color = ,
    baseEffectiveness = 0,
    incrementalEffectiveness = 0,
    skillTypes = {
    },
    statDescriptionScope = "skill_stat_descriptions",
    castTime = 1,
    baseFlags = {
    },
    baseMods = {
    },
    qualityStats = {
    },
    stats = {
        "monster_dodge_distance",
    },
    levels = {
        [1] = {20, levelRequirement = 1, statInterpolation = {},  cost = { }, },
    },
}
-- src\Data\Skills\spectre.lua
skills["KaruiSpiritDodgeRight"] = {
    name = "KaruiSpiritDodgeRight",
    hidden = true,
    color = ,
    baseEffectiveness = 0,
    incrementalEffectiveness = 0,
    skillTypes = {
    },
    statDescriptionScope = "skill_stat_descriptions",
    castTime = 1,
    baseFlags = {
    },
    baseMods = {
    },
    qualityStats = {
    },
    stats = {
        "monster_dodge_direction",
        "monster_dodge_distance",
    },
    levels = {
        [1] = {1, 20, levelRequirement = 1, statInterpolation = {},  cost = { }, },
    },
}
Edit

Wikis Content is available under CC BY-NC-SA 3.0 unless otherwise noted.