Eingraben: aimed escape to a point in sight, 3 s barrier, no lock
Eingraben becomes ground-targeted; after its own case the dwarf moves to the end of Phasenverschiebung's walk towards the point (stops before walls and cliffs). The barrier's bonus lasts 3 s and its lock in place (effect kind 0x3a) is dropped. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
55e48dd302
commit
198bbab6f9
6 files changed
+183
-2
No files matched your search
+38
-1
@@ -1,4 +1,4 @@
|
||||
# Dwarf arts: Kanonenschuss and Mörsergranate
|
||||
# Dwarf arts: Kanonenschuss, Mörsergranate, Eingraben
|
||||
|
||||
## Requests (2026-10-25 / 2026-10-26)
|
||||
|
||||
@@ -87,3 +87,40 @@ with life >= 256 or row >= 3 are switched off before drawing. Logged in the
|
||||
next session: 5 particles, all row 3, life 255, garbage sizes (e.g. 190555,
|
||||
4.6e-40): the explosion emits into a fourth row whose emitter parameters it
|
||||
never sets (vf10 0x7b6980 fills three rows at +0x30d0). No crash since.
|
||||
|
||||
## Eingraben: the dwarf's escape (request 2026-10-28)
|
||||
|
||||
"I want it to be the Dwarfs option to Teleport/Escape. The Skill will cast a
|
||||
protective barrier around the Dwarf (current visual effect), clear him of all
|
||||
movement impending effects and then teleport to the position marked by the
|
||||
cursor (if possible). The Teleport is visually shown by the dwarf going
|
||||
underground and coming out again at target position." Range: the visible
|
||||
area; the barrier is the skill's current defensive bonus for 3 s; digging in
|
||||
and out 1 s each; "he should be able to see the target location", compared
|
||||
to the battlemage's Phasenverschiebung; the original lock in place goes.
|
||||
|
||||
Found in the code:
|
||||
- Spells run in `cCreature::CastSpell` (0x5222c0, thiscall (cast), ret 4;
|
||||
cast +0x08 / +0x0c the ground point, +0x20 the spell id). Eingraben is
|
||||
spell 0x39 (`gui_moves_eingraben`, launch type 5 around the caster).
|
||||
- Case 0x39 creates object type 0x480 at the caster with cEventFX 0x9d (owner
|
||||
and target the caster) and plays sound 0x840: the barrier, which follows
|
||||
the dwarf.
|
||||
- Case 1 (Phasenverschiebung, launch type 3) walks from the caster towards the
|
||||
target in steps of 10 while the cell is passable (`cWorld::IsPassable`
|
||||
0x636b60) and keeps the last point a creature can stand on
|
||||
(`cWorld::CanStand` 0x636eb0); a wall or cliff in the way ends the walk.
|
||||
|
||||
Logged (2026-10-28): the barrier adds, all with art 0x39, kind 0x3a value 0
|
||||
from its particles (0x7b9602), the lock in place (the dwarf was stuck 2-3 s),
|
||||
and kind 2 value 0.5 plus kinds 7..0xa value 30 from its update (0x5b5862..),
|
||||
the defensive bonus (resistances up while it lasts).
|
||||
|
||||
Mod (`mods/dwarfarts.cpp`): Eingraben's definition +0x3c becomes 3 (a point);
|
||||
after the original case the dwarf is teleported to the end of
|
||||
Phasenverschiebung's walk towards the point (the cursor keeps it within the
|
||||
visible area). The effect hook (`aurarecast.cpp`, `KeepEffect`) drops kind
|
||||
0x3a for art 0x39 and cuts the art's other effects to 3 s. Confirmed
|
||||
2026-10-28: aimed, stops before walls and cliffs, casts at once at the screen
|
||||
edge, the barrier moves with him, no lock, bonus for 3 s. Open: clearing
|
||||
slows and stuns, 1 s digging in and out.
|
||||
Reference in new issue
Block a user