Lachlann, rebelle ézomyte
Humanoïde
stance movement speed +% final [173]
Lachlann, Ezomyte Rebel
SpectreN
Tagshuman, humanoid, red_blood, Unarmed_onhit_audio, very_slow_movement
Vie
100%
Résistance
-30 30 0 0
Damage
100%
Précision
100%
Attack Distance
6 ~ 6
Temps d'attaque
1.5 Second
Damage Spread
±20%
Expérience
100%
Model Size
120%
Type
BitterGuy
Metadata
BitterGuy
Niveau
68
Vie
7,757
2,413
Damage
233
Dégâts des sorts
233
Précision
2,464
Temps d'attaque
1.5
Expérience
28,634
Minion Life
6,930
Minion Damage
969
Minion Armour
2,413
BitterGuyTransform
Triggerable
BitterGuyTransformQuick
Triggerable

Object Type

version 2
extends "Metadata/Monsters/NPC/NPCMonsterBase"

Animated
{
	animated_object = "Metadata/NPC/Four_Act1/BitterGuy.ao"
	turn_duration = 0.3
	serialise_animation_progress = true
}

Transitionable {}

StateMachine 
{
	define_shared_state = "visible = 1;"
	define_shared_checkpoint_state = "pathed; boss_dead;"
	define_shared_state = "idle_talking;"
	define_shared_timer = "idle_talking_timer;"
}

Pathfinding
{
	base_speed = 14
}

Stats
{
	life_regeneration_rate_per_minute_% = 30
	untargetable_by_monster_ai = 1
}

Actor
{
	slow_animations_go_to_idle = false
	basic_action = "Dance"
	basic_action = "Emerge"
	basic_action = "Emerge2"
}

ControlZone {}

Functions {}

Positioned
{
	unblock_quest_flag = "BitterGuyDestroyed"
}

SectorEvents
{
	
}

Object Type Codes

version 2
extends "Metadata/Monsters/NPC/NPCMonsterBase"

Transitionable {}

BaseEvents
{
	on_construction_complete =
	"
		AddAttached( 'Metadata/NPC/Four_Act1/BitterGuyPointLight.ao', hip_jntBnd );
		SetEntityInfoVisible( False );
	"
}

Render
{
	selection_height_override = 200
	use_ao_lights = true
}

Animated
{
	preload_animated_object = "Metadata/Effects/Spells/monsters_effects/bitterGuy/lachlann_spawn.ao"
}

Actor
{
	on_start_Transform = "DisableTargetable();"
}

Preload
{
	preload_epk = "Metadata/Effects/Spells/monsters_effects/Act1_FOUR/BitterGuy_Boss/epk/transform_out.epk"
	preload_epk = "Metadata/Effects/Spells/monsters_effects/Act1_FOUR/BitterGuy_Boss/epk/transform_in.epk"
}

ControlZone
{
	radius = 0
	condition = "players, alive"

	on_exit =
	"
		SetControlZoneRadius( 0 );
		PlayAnimation( idle_looking_around_01 );
		SetStateTo( talking, 0 );
	"
}

Functions
{
	bitterguy_interaction_start =
	"
		IfState( talking, 1, {},
		{
			SetStateTo( talking, 1 );
			SetControlZoneRadius( 15 );
			PlayAnimation( idle_01_01 );
		} );
	"
}

StateMachine
{
	define_state = "talking;"

	on_or_create_state_visible_0 =
	"
		DisableRendering();
		HideMinimapIcon();
	"

	on_or_create_state_pathed_1 = "DisableTargetable();"
}

Animated
{
	on_animated_object_added =
	"
		Delay( 0.1, { ShowAllMeshSegments(); } );
	"
}

StateMachine
{
	on_timer_idle_talking_timer = 
	"
		IfState( idle_talking, 1, ()
		{
			IfQuestFlagSet( globals.player, BitterGuyQuestReceived,
			{
				IfQuestFlagSet( globals.player, BitterGuyGraveyardGateOpened, (){}, ()
				{
					PlayTextAudio( LachlannWildGetOnWithIt_Random, 'Metadata/Monsters/NPC/BitterGuy' ); 
				} );	
			} );	
		} );
	"
}
-- src\Data\Spectres.lua
minions["Metadata/Monsters/NPC/BitterGuy"] = {
    name = "Lachlann, Ezomyte Rebel",
    life = 1,
    fireResist = 0,
    coldResist = 0,
    lightningResist = 0,
    chaosResist = 0,
    damage = 1,
    damageSpread = 0.2,
    attackTime = 1.5,
    attackRange = 6,
    accuracy = 1,
    skillList = {
        "BitterGuyTransform",
        "BitterGuyTransformQuick",
    },
    modList = {
    },
}
-- src\Data\Skills\spectre.lua
skills["BitterGuyTransform"] = {
    name = "BitterGuyTransform",
    hidden = true,
    color = ,
    baseEffectiveness = 0,
    incrementalEffectiveness = 0,
    skillTypes = {
        [SkillType.Triggerable] = true,
    },
    statDescriptionScope = "skill_stat_descriptions",
    castTime = 2.17,
    baseFlags = {
    },
    baseMods = {
    },
    qualityStats = {
    },
    stats = {
    },
    levels = {
        [1] = {levelRequirement = 1, statInterpolation = {},  cost = { }, },
    },
}
-- src\Data\Skills\spectre.lua
skills["BitterGuyTransformQuick"] = {
    name = "BitterGuyTransformQuick",
    hidden = true,
    color = ,
    baseEffectiveness = 0,
    incrementalEffectiveness = 0,
    skillTypes = {
        [SkillType.Triggerable] = true,
    },
    statDescriptionScope = "skill_stat_descriptions",
    castTime = 1,
    baseFlags = {
    },
    baseMods = {
    },
    qualityStats = {
    },
    stats = {
    },
    levels = {
        [1] = {levelRequirement = 1, statInterpolation = {},  cost = { }, },
    },
}
FamilyNothing
DomainsMonster (3)
GenerationTypeUnique (3)
Req. level1
stance movement speed +% final [173]
FamilyStance
DomainsMonster (3)
GenerationTypeUnique (3)
Req. level1
Stats
  • stance movement speed +% final Min: 173 Max: 173 Global
  • Lachlann, rebelle ézomyte
    Humanoïde
    stance movement speed +% final [173]
    Lachlann, Ezomyte Rebel
    SpectreN
    Tagshuman, humanoid, red_blood, Unarmed_onhit_audio, very_slow_movement
    Vie
    100%
    Résistance
    -30 30 0 0
    Damage
    100%
    Précision
    100%
    Attack Distance
    6 ~ 6
    Temps d'attaque
    1.5 Second
    Damage Spread
    ±20%
    Expérience
    100%
    Model Size
    120%
    Type
    BitterGuy
    Metadata
    BitterGuyMap
    Niveau
    68
    Vie
    7,757
    2,413
    Damage
    233
    Dégâts des sorts
    233
    Précision
    2,464
    Temps d'attaque
    1.5
    Expérience
    28,634
    Minion Life
    6,930
    Minion Damage
    969
    Minion Armour
    2,413
    BitterGuyTransform
    Triggerable
    BitterGuyTransformQuick
    Triggerable

    Object Type

    version 2
    extends "Metadata/Monsters/NPC/NPCMonsterBase"
    
    Positioned
    {
    	
    }
    
    Animated
    {
    	animated_object = "Metadata/NPC/Four_Act1/BitterGuy.ao"
    	serialise_animation_progress = true
    }
    
    Actor
    {
    	slow_animations_go_to_idle = false
    	basic_action = "Dance"
    	basic_action = "Emerge"
    	basic_action = "Emerge2"
    }
    
    StateMachine
    {
    	define_shared_state = "visible = 1;"
    }

    Object Type Codes

    version 2
    extends "Metadata/Monsters/NPC/NPCMonsterBase"
    
    BaseEvents
    {
    	on_construction_complete =
    	"
    		AddAttached( 'Metadata/NPC/Four_Act1/BitterGuyPointLight.ao', hip_jntBnd );
    		DisableTargetable();
    	"
    }
    
    Render
    {
    	use_ao_lights = true
    }
    
    Animated
    {
    	preload_animated_object = "Metadata/Effects/Spells/monsters_effects/bitterGuy/lachlann_spawn.ao"
    
    	on_animated_object_added =
    	"
    		Delay( 0.1, { ShowAllMeshSegments(); } );
    	"
    }
    
    Preload
    {
    	preload_epk = "Metadata/Effects/Spells/monsters_effects/Act1_FOUR/BitterGuy_Boss/epk/transform_out.epk"
    	preload_epk = "Metadata/Effects/Spells/monsters_effects/Act1_FOUR/BitterGuy_Boss/epk/transform_in.epk"
    }
    
    StateMachine
    {
    	on_or_create_state_visible_0 = "DisableRendering();"
    }
    -- src\Data\Spectres.lua
    minions["Metadata/Monsters/NPC/BitterGuyMap"] = {
        name = "Lachlann, Ezomyte Rebel",
        life = 1,
        fireResist = 0,
        coldResist = 0,
        lightningResist = 0,
        chaosResist = 0,
        damage = 1,
        damageSpread = 0.2,
        attackTime = 1.5,
        attackRange = 6,
        accuracy = 1,
        skillList = {
            "BitterGuyTransform",
            "BitterGuyTransformQuick",
        },
        modList = {
        },
    }
    -- src\Data\Skills\spectre.lua
    skills["BitterGuyTransform"] = {
        name = "BitterGuyTransform",
        hidden = true,
        color = ,
        baseEffectiveness = 0,
        incrementalEffectiveness = 0,
        skillTypes = {
            [SkillType.Triggerable] = true,
        },
        statDescriptionScope = "skill_stat_descriptions",
        castTime = 2.17,
        baseFlags = {
        },
        baseMods = {
        },
        qualityStats = {
        },
        stats = {
        },
        levels = {
            [1] = {levelRequirement = 1, statInterpolation = {},  cost = { }, },
        },
    }
    -- src\Data\Skills\spectre.lua
    skills["BitterGuyTransformQuick"] = {
        name = "BitterGuyTransformQuick",
        hidden = true,
        color = ,
        baseEffectiveness = 0,
        incrementalEffectiveness = 0,
        skillTypes = {
            [SkillType.Triggerable] = true,
        },
        statDescriptionScope = "skill_stat_descriptions",
        castTime = 1,
        baseFlags = {
        },
        baseMods = {
        },
        qualityStats = {
        },
        stats = {
        },
        levels = {
            [1] = {levelRequirement = 1, statInterpolation = {},  cost = { }, },
        },
    }
    
    FamilyNothing
    DomainsMonster (3)
    GenerationTypeUnique (3)
    Req. level1
    stance movement speed +% final [173]
    FamilyStance
    DomainsMonster (3)
    GenerationTypeUnique (3)
    Req. level1
    Stats
  • stance movement speed +% final Min: 173 Max: 173 Global
  • Lachlann, rebelle ézomyte
    Humanoïde
    Lachlann, Ezomyte Rebel
    SpectreN
    Tagshuman, humanoid, red_blood, Unarmed_onhit_audio, very_slow_movement
    Vie
    100%
    Résistance
    0 0 0 0
    Damage
    100%
    Précision
    100%
    Attack Distance
    6 ~ 6
    Temps d'attaque
    1.5 Second
    Damage Spread
    ±20%
    Expérience
    100%
    Model Size
    100%
    Type
    BitterGuyHuman
    Metadata
    BitterGuyHuman

    Object Type

    version 2
    extends "Metadata/Monsters/NPC/NPCMonsterBase"
    
    Animated
    {
    	animated_object = "Metadata/NPC/Four_Act1/BitterGuy.ao"
    }
    
    Stats
    {
    	life_regeneration_rate_per_minute_% = 30
    	untargetable_by_monster_ai = 1
    }
    
    StateMachine
    {
    	define_shared_state = "path"
    }
    
    SectorEvents
    {
    	
    }
    
    ControlZone
    {
    }

    Object Type Codes

    version 2
    extends "Metadata/Monsters/NPC/NPCMonsterBase"
    
    Render
    {
    	has_light = false
    }
    
    Preload
    {
    	preload_animated_object = "Metadata/Effects/Spells/monsters_effects/bitterGuy/lachlann_spawn.ao"
    }
    -- src\Data\Spectres.lua
    minions["Metadata/Monsters/NPC/BitterGuyHuman"] = {
        name = "Lachlann, Ezomyte Rebel",
        life = 1,
        fireResist = 0,
        coldResist = 0,
        lightningResist = 0,
        chaosResist = 0,
        damage = 1,
        damageSpread = 0.2,
        attackTime = 1.5,
        attackRange = 6,
        accuracy = 1,
        skillList = {
        },
        modList = {
        },
    }
    
    Edit

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