LTO Last Treasure Onlinethe in-game encyclopedia, generated from the build Play in your browser

Bat

Bestiary entry · 225 HP

Bat is an enemy body with 225 HP, light at weight 0.4. Its offense is driven in code rather than by an authored attack list. It sees 360° ahead and gives chase from 14 m. A kill pays 3 coins.

Swings

This body carries no entries in the shared attack table. Everything it does is driven by its own states — see below.

Abilities & behaviour (5)

Every state this body can enter, read off the live instance. A boss's identity lives here rather than in the swing table — Dracula's bat form and his wandless cast are states, not AttackData rows. Descriptions are the programmer's own note at the top of each state.

Movement, reaction & AI (5)

StateWhat it is
DeadDeath: no more sink-and-vanish.
FlightFlight (FSM node "Flight"): hover-hunt.
HurtHit reaction.
RoostRoost: the bat hangs upside-down under the nearest ceiling and waits (this is the FSM's first child, so a fresh bat starts here and climbs to a perch).
SwoopSwoop (FSM node "Swoop"): the telegraphed dive.

In dungeons

Pool entryPower costWeightPer-tile chanceMax/roomGatesAtmosphere biasPairs with
bat0.40.55%4depth ≥ 1danger 0.3, weird 0.2
Rooms fill a power budget, not a headcount: each body costs its power rating, so two heavy bodies fill a room as fast as five light ones. Per-tile chance is the roll on a tile that has already selected this entry — the effective rate is far lower.

On islands

Power costCommon everywhereComes out at nightClaws out of the ground
0.450.42No
BiomeWeight
Forest0.8
Jungle1
Rocky0.4
Spring0.25
Winter0.35
It sits under every island's table, whatever the biome.
Full rules: Overworld spawns.

Islands that favour it

IslandRegionBiomeEncounter weight
SCHOLOMANCEscholomancedead0.5

Drops

PayoutAmountNotes
Coins3Always. Scales with max HP.
Gem16%Per kill, multiplied by the killer's luck. Which gem depends on run depth.
Diamond2%Per kill, multiplied by luck and by run depth.
Health orbsup to 40%Only for a hurt killer — the chance rises as the killer's own health falls.

Source

FieldValue
Sceneres://enemies/bat/bat.tscn
Scriptres://enemies/bat/bat.gd
ClassCharacterBody3D
Categories: Bestiary