en:rpd:earthroot_level_object
Table of Contents
Earthroot Level Object
Description
The Earthroot is a plant level object that can grow from Earthroot Seeds. When a creature steps on or bumps into it, it applies an Earthroot Armor buff that absorbs damage equal to the creature's max HP while the creature remains on the same cell. The plant withers and disappears after being triggered.
Effects
- Applies the Earthroot Armor buff when triggered (absorbs damage up to target's max HP)
- Buff lasts only while the target stays on the same cell - moving removes it
- Visual effect: earth particles and camera shake when triggered
- The level object is destroyed after being touched
Mechanics
- Earthroot level objects can be found naturally in the dungeon
- They can also be grown by planting Earthroot Seeds
- Implemented as a data-driven `Plant` class with Lua script behavior (`scripts/plants/Earthroot.lua`)
- The armor buff is defined in `scripts/buffs/Armor.lua` and uses the target's max HP as the absorption pool
- Warden Subclass Bonus: Heroes with the Warden subclass receive an enhanced Barkskin buff when interacting with any plant (level = max HP / 3), plus a chance to receive a random seed or dewdrop
- Flying creatures are not immune to the armor effect, but the buff detaches if they move
Strategy
- Strategic Placement: Plant Earthroot seeds in locations where you plan to stay defensively
- Emergency Protection: Useful when facing difficult enemies if you can hold your position on the plant's cell
- Warden Synergy: Warden subclass gains additional Barkskin armor and resource drops from plants
- The armor pool equals your max HP, making it very effective for high-HP builds
- Consider saving seeds for challenging encounters or boss fights where you can hold a position
Code Reference
- Plant Factory Class: Plant.java - Data-driven plant implementation
- Earthroot Lua Script: Earthroot.lua - Effect logic (applies Armor buff with level = target's max HP)
- Armor Buff Script: Armor.lua - Absorbs damage up to buff level, detaches on movement
- Earthroot Seed: EarthrootSeed.java - Seed item that grows Earthroot plants
- String Resources: Earthroot_Name, Earthroot_Desc, EarthrootBuff_Name, EarthrootBuff_Info
Related
- Earthroot Seed - The seed used to grow Earthroot level objects
- Armor Buff - The damage-absorbing buff provided by Earthroot
- Barkskin - Additional armor buff for Warden subclass from plants
- Plants - Other plants in the game
- Seeds - Seeds that can be planted to grow useful plants
- Level Objects - Other interactive objects in dungeon levels
en/rpd/earthroot_level_object.txt · Last modified: by 127.0.0.1

