SpectreN
AreaSpider Jungle, Inferno, Kingdom's Edge, Crimson Shores, Cenotes, Forsaken Tides, Sandspit, Glacial Road, Expanse, Hive, Slaughter, Hidden Grotto, Howling Halls, Cascade, Overgrown Promenade, Ravine, Frigid Depths, Desert Tower, Vaal Village, Vaal Outskirts, Slick, Steppe, Opulence, Rockpools, Lush Burrow, Umbra, Infestation, Deserted, Oasis, Freight, Bastion, Refuge, Dieback
TagsArrow_onhit_audio, human, humanoid, immobile, not_int, not_str, red_blood
Life
100%
Evasion
+100%
Resistance
0 0 0 0
Damage
100%
Accuracy
100%
Critical Hits Chance
5%
Critical Damage Bonus
+30%
Attack Distance
6 ~ 150
Attack Time
5.595 Second
Damage Spread
±20%
Experience
100%
Model Size
100%
Type
DogTrader
Metadata
DogTrader_
Level
65
Life
6,513
Armour
2,893
Evasion Rating
880
Damage
212
Spell Damage
212
Accuracy
1,974
Attack Time
5.595
Experience
21,507
Minion Life
9,932
Minion Damage
1,555
Minion Armour
2,893
Melee
Attack, RangedAttack, MirageArcherCanUse, Projectile, MeleeSingleTarget, Multistrikeable, Melee, ProjectilesFromUser
Basic Attack
Base Damage: 170–255
Critical Hit Chance: 5%
Attack Time: 5.595 sec
skill can fire wand projectiles [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] 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 = {
        "Melee",
    },
    modList = {
    },
}
-- src\Data\Skills\spectre.lua
skills["Melee"] = {
    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.Multistrikeable] = 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",
    },
    levels = {
        [1] = {levelRequirement = 1, statInterpolation = {},  cost = { }, },
    },
}
Edit

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