WIP
SpectreN
Area蜘蛛叢林, 煉獄, 沙吐, 瓦爾村莊, 瓦爾郊區, 岩池, 堅堡, 庇護所, 棲枝
TagsArrow_onhit_audio, human, humanoid, immobile, not_int, not_str, red_blood
生命
100%
閃避
+100%
抗性
0 0 0 0
傷害
100%
命中
100%
暴擊 Chance
5%
暴擊傷害加成
+30%
Attack Distance
6 ~ 150
攻擊時間
5.595 Second
Damage Spread
±20%
經驗值
100%
Model Size
100%
Type
DogTrader
Metadata
DogTrader_
等級
65
生命
6,513
護甲值
2,023
閃避值
880
傷害
212
法術傷害
212
命中
1,974
攻擊時間
5.595
經驗值
21,507
Minion Life
6,282
Minion Damage
829
Minion Armour
2,023
MeleeAtAnimationSpeed
攻擊, 範圍攻擊, 技能可幻影射手, 投射物, 近戰單一目標, 近戰, 玩家投射物
基礎攻擊
Base Damage: 170–255
暴擊率: 5%
攻擊時間: 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] 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.