SpectreN
AreaПаучьи джунгли, Пожарище, Поселение ваал, Окраины ваал, Бастион, Пристанище, Карниз, Фрахт
TagsArrow_onhit_audio, human, humanoid, immobile, not_int, not_str, red_blood
Здоровье
100%
Уклонение
+100%
Сопротивление
0 0 0 0
Damage
100%
Меткость
100%
Attack Distance
6 ~ 150
Время атаки
5.595 Second
Damage Spread
±20%
Опыт
100%
Model Size
100%
Type
DogTrader
Metadata
DogTrader_
Уровень
65
Здоровье
6,513
Damage
212
Урон от чар
212
Меткость
2,214
Время атаки
5.595
Опыт
21,507
Minion Life
6,282
Minion Damage
829
Minion Armour
2,023
MeleeAtAnimationSpeed
Attack, RangedAttack, MirageArcherCanUse, Projectile, MeleeSingleTarget, Melee, ProjectilesFromUser
Обычная атака
Base Damage: 170–255
Время атаки: 5.595 сек.
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]

Object Type

version 2
extends "Metadata/Monsters/Monster"

Actor
{
	main_hand_unarmed_type = "Bow"
	slow_animations_go_to_idle = false
	basic_action = "ChangeToStance1"
	basic_action = "ChangeToStance2"
}

BaseEvents
{
	on_construction_complete = "globals.guardnpc = this;"
}

Positioned
{
	team = 1
	force_placement = true
}

Stats
{
	set_cannot_die = 1
	set_monster_no_additional_player_scaling = 1
	set_cannot_be_chained_from = 1
	untargetable_by_monster_ai = 1 
	projectile_uses_contact_position = 1
}

StateMachine {}

NPC {}

Transitionable
{
	num_states = 2
}

Animated
{
	animated_object = "Metadata/NPC/Four_Act1/DogTrader.ao"
}


Object Type Codes

version 2
extends "Metadata/Monsters/Monster"

Render
{
}

Targetable
{
	targetable = false
}

Transitionable
{
	on_transition_to_2 =
	"
		SetProximityTriggerRadius( 50 );
		SetRotation(259);
		PlayAnimation( gate_open_01 );
		QueueAnimation( idle_01 );
	"
	create_transitioned = "PlayAnimation( idle_01 );"
}

ProximityTrigger
{
	radius = 0
	condition = "players"
	on_triggered = "PlayTextAudio( ClearfellGuardMillerDeathRandom , 'Metadata/Monsters/NPC/DogtraderRiverbank');"
}
-- src\Data\Spectres.lua
minions["Metadata/Monsters/NPC/DogTrader_"] = {
    name = "[DNT-UNUSED] Dog Trader",
    life = 1,
    fireResist = 0,
    coldResist = 0,
    lightningResist = 0,
    chaosResist = 0,
    damage = 1,
    damageSpread = 0.2,
    attackTime = 5.595,
    attackRange = 150,
    accuracy = 1,
    weaponType1 = "Bow",
    skillList = {
        "MeleeAtAnimationSpeed",
    },
    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 = { }, },
    },
}
Edit

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