diff --git a/notes/entities/boss_fidelity_1.md b/notes/entities/boss_fidelity_1.md index 881e44e..7df2112 100644 --- a/notes/entities/boss_fidelity_1.md +++ b/notes/entities/boss_fidelity_1.md @@ -59,3 +59,30 @@ the port moves by the braked velocity too, so retention = f and pushes need no c enemy_limit 5 (not red). New engine fields: choice hurt_one_in, attacks[] repeat gap / gap_retention, poop first. - Not expressed: red's whistle cap of six red poops, Dangle's fart during the slide, the slide push along its own velocity (the port pushes along its aim). + +## haunt: NpcAI::ENTITY_THE_HAUNT 00481410 (260.0; subtype 1 black, 2 pink). Changed (pass 2's leftovers) +- Re-read over pass2_haunt.md. Kept: lil haunt counts 3 / 2 / 1 at radius 50, skin drift, the no-skin line + (TargetPosition.x +-.3 a tick, flipped plus a 15 kick on a side wall hit, y pinned to room top + 30), dash odds, + attack clock (stateFrame > 60, rand%60, coin spit / laser), mode 5 spit. +- State 4 with no lil haunt left plays AngrySkin (alpha .5 -> 1, y eased to room top + 20, friction *.5), then Peel + (sound 0x13a, state 16), then state 3. The port went straight to Peel: the no-skin phase now opens on AngrySkin. +- The line push (and wall flip) runs in states 3, 8 and 9 (line 0048273b: `if state is 3, 8 or 9`): the Haunt keeps + sliding while it spits and lasers, and the dash is a state-3 velocity change, not a stop. New generic attack flag + `moving` (the behaviour's movement runs on during the attack) on AngryNoSkin, SpitNoSkin, LaserNoSkin. +- Dash: `TargetPosition.x = |TargetPosition.x|` and `vel.x = |vel.x|` toward Isaac, then `+ 10 + rand*5`. New attack + flag `impulse_flip` (velocity heading against the impulse is mirrored first), so the speed it had is kept, and the + line push follows the new heading. +- Laser: `Entity_Laser::ShootAngle(1, pos, 90 (pink 135 and 45), timeout 10, offset (0, -50))`, MaxDistance 3000: + the beam lasts 10 ticks, not Shoot..LaserEnd (22). laser lifetime 10. +- Pink spit (subtype 2): from Shoot to Stop on IsFrame(2): one shot at 10 toward Isaac turned by + ((V2.x * .5 * s + .5) * 120 - 60) degrees, s = +1 on IsFrame(4) else -1, V2.x += .125 a shot; FallingAccel -.1. + That is 60 * s * V2.x: 0, -7.5, +15, -22.5, ... +-52.5 over the 8 even frames. Was a fan of 8 at once; now eight + aimed shots on clip frames 4, 6, ..., 18 with one-turn fans, fall_acceleration -.1. +- Not expressed: the skin-phase opening (the AI spawns the lil haunts silently on init and plays AngrySkin only at + the transition; the port still opens with AngrySkin to spawn them), the alpha and y easing. + +## rag_megas_rebirth_pillar: NpcAI::ENTITY_RAG_MEGA 00495610 variant 2 (409.2). Changed +- Each tick: NPCs within 40: a Ragling in state 16 -> state 2 (revived), any other +25% of its max health (capped); + Remove() on a grid collision or once its 24-frame "Rebirth Pillar" clip ends. Friction 1 (keeps its launch 10). +- Port: revive radius 60 -> 40; fade life 90 -> 24 with duration 10000 (no slowing; was slowing to 0 over 90); + grid_collision walls + wall_death (gone at a wall). Not expressed: the 25% heal of other enemies it passes.