Lachlann, Ezomyte Rebel
stance movement speed +% final [173]
SpectreY
Tagsred_blood, Unarmed_onhit_audio, very_slow_movement
Life
100%
Resistance
-30 30 0 0
Damage
100%
Accuracy
100%
Critical Hits Chance
5%
Critical Damage Bonus
+30%
Attack Distance
6 ~ 6
Attack Time
1.5 Second
Damage Spread
±20%
Experience
100%
Model Size
120%
Type
BitterGuy
Metadata
BitterGuy
Level
68
Life
7,757
Armour
3,451
Evasion Rating
477
Damage
233
Spell Damage
233
Accuracy
2,180
Attack Time
1.5
Experience
28,634
Minion Life
11,280
Minion Damage
1,896
Minion Armour
3,451
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 = { }, },
    },
}
IdNothing
FamilyNothing
DomainsMonster (3)
GenerationTypeUnique (3)
Req. level1
stance movement speed +% final [173]
IdStanceMovementSpeed174
FamilyStance
DomainsMonster (3)
GenerationTypeUnique (3)
Req. level1
Stats
  • stance movement speed +% final Min: 173 Max: 173 Global
  • Lachlann, Ezomyte Rebel
    stance movement speed +% final [173]
    SpectreY
    Tagsred_blood, Unarmed_onhit_audio, very_slow_movement
    Life
    100%
    Resistance
    -30 30 0 0
    Damage
    100%
    Accuracy
    100%
    Critical Hits Chance
    5%
    Critical Damage Bonus
    +30%
    Attack Distance
    6 ~ 6
    Attack Time
    1.5 Second
    Damage Spread
    ±20%
    Experience
    100%
    Model Size
    120%
    Type
    BitterGuy
    Metadata
    BitterGuyMap
    Level
    68
    Life
    7,757
    Armour
    3,451
    Evasion Rating
    477
    Damage
    233
    Spell Damage
    233
    Accuracy
    2,180
    Attack Time
    1.5
    Experience
    28,634
    Minion Life
    11,280
    Minion Damage
    1,896
    Minion Armour
    3,451
    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 = { }, },
        },
    }
    
    IdNothing
    FamilyNothing
    DomainsMonster (3)
    GenerationTypeUnique (3)
    Req. level1
    stance movement speed +% final [173]
    IdStanceMovementSpeed174
    FamilyStance
    DomainsMonster (3)
    GenerationTypeUnique (3)
    Req. level1
    Stats
  • stance movement speed +% final Min: 173 Max: 173 Global
  • Lachlann, Ezomyte Rebel
    SpectreY
    Tagshuman, humanoid, red_blood, Unarmed_onhit_audio, very_slow_movement
    Life
    100%
    Resistance
    0 0 0 0
    Damage
    100%
    Accuracy
    100%
    Critical Hits Chance
    5%
    Critical Damage Bonus
    +30%
    Attack Distance
    6 ~ 6
    Attack Time
    1.5 Second
    Damage Spread
    ±20%
    Experience
    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.