探勘族民
人形
Prospector Kin
SpectreY
Tagsfast_movement, humanoid, not_int, red_blood, SpearWood_onhit_audio
生命
65%
+25%
闪避
+25%
抗性
0 0 0 0
伤害
65%
命中
100%
暴击 Chance
6%
Attack Distance
3 ~ 9
攻击间隔
1.5 Second
Damage Spread
±20%
经验值
65%
Model Size
100%
Type
GoblinMiner
Metadata
GoblinMinerMining
等级
68
生命
5,042
3,016
伤害
152
法术伤害
152
命中
2,464
攻击间隔
1.5
经验值
18,612
召唤物生命
4,505
召唤物伤害
630
召唤物护甲
4,223
MeleeAtAnimationSpeed
攻击, 范围攻击, 技能可幻影射手, 投射物, 近战单一目标, 近战, 玩家投射物
基础攻击
Base Damage: 121–182
暴击率: 5%
攻击间隔: 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]
MPSGoblinMinerRockThrow
攻击, 范围攻击, 技能可幻影射手, 投射物, 玩家投射物, 伤害, 可触发
Base Damage: 121–182
暴击率: 5%
攻击间隔: 1.5 秒
将[物理]伤害的 40% 转化为[闪电]伤害
action attack or cast time uses animation length [1]
base is projectile [1]
maintain projectile direction when using contact position [1]
monster projectile variation [1162]
projectile ballistic angle from reference event [1]
projectile speed variation +% [20]
projectile spread radius [6]
projectile uses contact position [1]
spell maximum action distance +% [-40]

Object Type

version 2
extends "Metadata/Monsters/Monster"

Transitionable
{
	
}

Stats
{
	set_base_heavy_stun_duration_ms = 2566
}

Actor
{
	basic_action = "ChangeToStance1"
	leveled_starting_effects = "EASLeftTurn180"
}


Functions
{
	fix_orientation =
	"
		/* arg1 doesn't exist by the time AddOnActionEnd happens so needs to be put somewhere */
		this.temp_anim_orientation = arg1;
		AddOnActionEnd(
		{
			SetOrientation( GetOrientation() + temp_anim_orientation, false, true );
			PlayAnimationType( Idle, 1.0, 0, 0 );
            this.temp_anim_orientation = null;
		}, true );
	"
}

Positioned
{
	force_placement = true
	collision_hull_type = "projectile"
}

StateMachine
{
	define_shared_state =
	"
		make_walk;
	"

	on_or_create_state_make_walk_0 = "ResetBaseHullType();"
	on_or_create_state_make_walk_1 = "OverrideBaseHullType( walk );"
}

Object Type Codes

version 2
extends "Metadata/Monsters/Monster"

Transitionable
{
	on_transition =
	"
		Roll( 1, 2, { PlayEffect( 'Metadata/Monsters/Goblins/GoblinMiner/GoblinMinerAggroAudio.ao' ); } );
	"
}

Life
{
	on_spawned_alive = "IfTypeContains( Torch, { AddEffectPackAttached( 'Metadata/Effects/Spells/monsters_effects/Act4_FOUR/MiningGoblin/epk/GoblinTorch01_flames.epk', 'Metadata/Effects/Spells/monsters_effects/Act4_FOUR/MiningGoblin/GoblinTorch01.ao' ); } );"
	on_death = "IfTypeContains( Torch, { RemoveEffectPackAttached( 'Metadata/Effects/Spells/monsters_effects/Act4_FOUR/MiningGoblin/epk/GoblinTorch01_flames.epk', 'Metadata/Effects/Spells/monsters_effects/Act4_FOUR/MiningGoblin/GoblinTorch01.ao' ); } );"
}
-- src\Data\Spectres.lua
minions["Metadata/Monsters/Goblins/GoblinMiner/GoblinMinerMining"] = {
    name = "Prospector Kin",
    life = 0.65,
    fireResist = 0,
    coldResist = 0,
    lightningResist = 0,
    chaosResist = 0,
    damage = 0.65,
    damageSpread = 0.2,
    attackTime = 1.5,
    attackRange = 9,
    accuracy = 1,
    weaponType1 = "One Hand Mace",
    skillList = {
        "MeleeAtAnimationSpeed",
        "MPSGoblinMinerRockThrow",
    },
    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["MPSGoblinMinerRockThrow"] = {
    name = "MPSGoblinMinerRockThrow",
    hidden = true,
    color = ,
    baseEffectiveness = 0,
    incrementalEffectiveness = 0,
    skillTypes = {
        [SkillType.Attack] = true,
        [SkillType.RangedAttack] = true,
        [SkillType.MirageArcherCanUse] = true,
        [SkillType.Projectile] = true,
        [SkillType.ProjectilesFromUser] = true,
        [SkillType.Damage] = true,
        [SkillType.Triggerable] = true,
    },
    statDescriptionScope = "skill_stat_descriptions",
    castTime = 1,
    baseFlags = {
        attack = true,
        projectile = true,
    },
    baseMods = {
    },
    qualityStats = {
    },
    stats = {
        "monster_projectile_variation",
        "projectile_spread_radius",
        "active_skill_base_physical_damage_%_to_convert_to_lightning",
        "spell_maximum_action_distance_+%",
        "projectile_speed_variation_+%",
        "base_is_projectile",
        "projectile_uses_contact_position",
        "action_attack_or_cast_time_uses_animation_length",
        "maintain_projectile_direction_when_using_contact_position",
        "projectile_ballistic_angle_from_reference_event",
    },
    levels = {
        [1] = {1162, 6, 40, -40, 20, levelRequirement = 1, statInterpolation = {},  cost = { }, },
    },
}
Edit

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