notes: shared enemies bosses_b (sins, horsemen, infamy, Mom)
This commit is contained in:
1 parent
c018c63de4
commit
33261c9284
1 file changed
+144
@@ -0,0 +1,144 @@
|
||||
# Shared bosses B (Phase C, Enemies option, 2026-10-26)
|
||||
|
||||
isaac-classic branch rif/shared-enemies, fork bosses_b. Bosses Flash and Repentance+ share keep Flash's AI under
|
||||
Enemies = Eternal Edition; under Enemies = Repentance+ a gated override in resources/data/repentance_plus/entities.json
|
||||
gives them the routine below, on Flash's art and animation names. Coordinates: Rep's room TopLeft (60, 140) is
|
||||
isaac-classic's floor corner (80, 160), so a Rep x / y is ours minus 20.
|
||||
|
||||
## Engine fields added (isaac-classic)
|
||||
- `hp {base, per_stage, variants}`: Entity::LoadEntityConfig 006a98b0 MaxHitPoints = baseHP + min(stage, 10) *
|
||||
stageHP (the stage part * .8 from stage 5). Flash's chapter_scale ((60 + 15 c) / 1.25 from chapter 5) differs: Rep
|
||||
sins are 60 + 20 s (Super 25), Flash's Super sins 1.875 x the plain one.
|
||||
- behavior `walk` (scripted with a sin or horseman): roam = PathFinder::MoveRandomlyAxisAligned 007e5340, drift =
|
||||
MoveRandomlyBoss 007e6650 instead of Flash's randrunx / randrun; path = a chase as FindGridPath (Lust).
|
||||
- horseman charge laps `random`, `start_x` (Rep ends the run once x passes the start's x; Flash's slip compares the
|
||||
start's y), attack `ticks` honoured by sin and horseman clips (Rep's state lengths shorter than Flash's clips).
|
||||
- sin tier `speeds` and split `health_divisor` (Envy).
|
||||
|
||||
## greed / super_greed: NpcAI::ENTITY_GREED 00475a30 (50.0 / 50.1). Changed
|
||||
- friction *.75; state 4 MoveRandomlyAxisAligned(1); each tick rand % 50: rand % 3 with fewer than 3 alive enemies ->
|
||||
Summon (state 13), else Shoot (state 8). Shoot: stateFrame 1 plays Attack01Up/Hori/Down by vector_to_direction, V1 =
|
||||
ToCardinal(Isaac - pos) * 10; stateFrame 5 FireProjectiles mode 2 (Super mode 4), boosted; ends past 24.
|
||||
Summon: stateFrame 5 sound 0x109, two Hoppers (Super: Keepers) at FindFreePickupSpawnPosition +-50 along x when it
|
||||
is the only enemy, else along y; ends past 26. Flash's clips match (Shoot 24, Summon 26, release frame 4).
|
||||
- Override: walk roam; fans = mode 2 (1,0), .9 (.961, +-.276) / mode 4 (.99, +-.139), .9 (.914, +-.407); hp 60 + 20 s
|
||||
(Super 25).
|
||||
|
||||
## headless_horseman_head: NpcAI::ENTITY_HEADLESS_HORSEMAN 0045cd60 (83.0). Changed
|
||||
- friction *.8; state 4 MoveRandomlyBoss; rand % 30 within 200 -> Attack (state 9); else rand % 120, or |dy| < 20 and
|
||||
rand % 80 -> charge: sound 0x77, flipX by dx, start = pos, Charge then Charge Shake at +-18 (x1.25 hard),
|
||||
stateFrame = 1 + rand % 3 wraps: past BR.x + 200 to TL.x - 200 (and back), y += .3 room height (past BR.y - 40:
|
||||
- .9 of it), until x passes the start's x. Attack: tick 14 sound 0x6c, mode 2 at 9.2 toward Isaac + vel * 10; ends
|
||||
at 31.
|
||||
- Override: walk drift; shot lead 10, mode-2 fan, on frame 15, attack ticks 31; wrap [-120, 800, 800, -120], laps 1 +
|
||||
random 3, start_x, drop 84 / rise 252 / floor 400; early_multiplier dropped. Left: hard mode's x1.25 dash.
|
||||
|
||||
## headless_horseman: NpcAI::ENTITY_HEADLESS_HORSEMAN 0045cd60 (82.0). Changed
|
||||
- friction *.8; MoveRandomlyAxisAligned(1); rand % 40 -> Attack: tick 10 sound 0xd5, FireBossProjectiles(1, Isaac,
|
||||
10) then flags | 0x102, FallingAccel -.3, FallingSpeed * .7 - 13, scale 1.6, height -27, velocity * .55, +-10 x by
|
||||
flip: Flash's green exactly. Ends at 31.
|
||||
- Override: walk roam; release 11, ticks 31; hp 60 + 30 s; early_multiplier dropped.
|
||||
|
||||
## wrath / super_wrath: NpcAI::ENTITY_WRATH 00475110 (48.0 / 48.1). Changed
|
||||
- friction *.85 (charge *.8 more, push 1.5 / f, cross axis lerped .1 to the cell centre; ends on a grid or entity
|
||||
hit); idle MoveRandomlyAxisAligned(1); bomb roll rand % max(60, d); lane: target + rand * 16 * Isaac's velocity,
|
||||
|dx| or |dy| < 20, d < 200, CheckLine -> rand & 1 throw else charge. Throw (state 9): past stateFrame 4 a bomb (4.0,
|
||||
Super 4.4) at its cell centre moving lane * 10, then state 4 with a 60-tick bomb watch (walk within 130, brake *.5
|
||||
past it). Flash's sin matches but its walk and its 12-frame Throw.
|
||||
- Override: walk roam, attack ticks 5, charge prediction_duration 16 (random(16) for Rep's rand * 16), hp 60 + 24 s
|
||||
(Super 30). Left: own-bomb damage 20 / Isaac's 200 (damage events rewritten), the 60-tick watch is the bomb's life.
|
||||
|
||||
## mask_of_infamy: NpcAI::ENTITY_MASK_OF_INFAMY 00461fc0 (97.0). Changed
|
||||
- MoveRandomlyAxisAligned(.85, freed 1.5), velocity * .85; IsFrame(4) lane check: Isaac + rand * 16 * his velocity,
|
||||
axis within 20, under 200, path score; charge push 2 / f under friction *.82, cross axis lerp .1; the heart's hurt
|
||||
turns it 1 in 2 into a 1.6 charge. Flash's lane matches.
|
||||
- Override: lane walk roam, charge prediction_duration 16, hp 200 -> 150.
|
||||
|
||||
## heart_of_infamy: inline case 006c342a (98.0) -> NpcAI::ENTITY_HEART 0051f2f0. Changed
|
||||
- State 0 -> 4 in the dispatcher, then the Heart's routine: EvadeTarget, friction *.8; IsFrame(3, 0) within 100 ->
|
||||
HeartAttack (friction *.7): on Shoot (type 0x62) a blood explosion, mode 8 at 12 (subtype 1: mode 6 at 8, homing),
|
||||
two splats.
|
||||
- Override: attacks by range 100 alone (Flash's alignment 20 dropped), the eight at 12, shots still. Left: EvadeTarget
|
||||
(move flee is a straight push), hp 200 matches.
|
||||
|
||||
## sloth / super_sloth: NpcAI::ENTITY_SLOTH 004741f0 (46.0 / 46.1). Changed
|
||||
- friction *.75; MoveRandomlyAxisAligned(1); rand % 50 faces Isaac: rand & 1 with <= 3 alive -> summon, else shoot.
|
||||
Summon stateFrame 5: Sloth a Charger 30 ahead charging along its facing; Super 1 in 2 ThrowSpider(big) else two
|
||||
spiders, to a free spot within 70 of the halfway point. Shoot stateFrame 5: one green (Super two). Ends past 29.
|
||||
- Override: walk roam; Super's summon: a Big Spider on a 1 in 2 branch, else two spiders; hp 60 + 20 s (Super and
|
||||
Ultra Pride 25).
|
||||
|
||||
## lust / super_lust: NpcAI::ENTITY_LUST 00474e00 (47.0 / 47.1). Changed
|
||||
- friction *.95; Super: red creep 1000.22 on IsFrame(7); line clear: v += .65 unit(Isaac + vel * 10 - pos) / f; else
|
||||
FindGridPath(.996, 900).
|
||||
- Override: speed .996, walk path, steer lead 10; hp 60 + 20 s (Super 25).
|
||||
|
||||
## gluttony / super_gluttony: NpcAI::ENTITY_VIS 0052c720 (49.0 / 49.1). Changed
|
||||
- MoveRandomlyAxisAligned(.7), friction *.8 last; IsFrame(3): rand % 7 within 70 + 130 rand -> FatAttack, else rand %
|
||||
10 -> laser if an axis is within 20, d < 400, on camera; FatAttack on Shoot mode 8 at 8 (+ Super 5 boss shots);
|
||||
laser on the Attack01 clip's Shoot (frame 28), Entity_Laser::ShootAngle(1, timeout 32), Super both ways.
|
||||
- Override: walk roam; lasers from 29 to 61 (32 ticks, Flash 29..70); vomit eight still; hp 60 + 20 s (Super 25).
|
||||
|
||||
## war: NpcAI::ENTITY_WAR 00458870 (65.0, Conquest 65.1). Changed (partly)
|
||||
- friction *.8; state 4 MoveRandomlyBoss; rand % 90 within 200 -> Attack1: stateFrame 5 FireProjectiles mode 8
|
||||
(Conquest 6, homing, scale 1.5) at 10, HeightModifier -45, FallingSpeedModifier +7; rand % 200 beyond 150 or rand %
|
||||
30 with |dy| < 20 -> dash (3 wraps, +-200, y + .3 room height, until past the start x); rand % 180 -> Attack2 leap
|
||||
and bomb rain (5 troll bombs; Conquest 15 beams, every 5th aimed at Isaac + .2 d velocity); below half (War):
|
||||
Morph 65.10 on foot (FindGridPath(aiFloat * .4 + .5)), the champion's ring at 10.
|
||||
- Override: walk drift; shots fall_velocity 7, still; Conquest rain 75 ticks (15 beams); charge wrap +-200 and
|
||||
start_x, drop 84 / rise 252 / floor 400; hp 500 both (Flash's Conquest 1.3x); the foot champion ring at 10, still.
|
||||
Left: Conquest's clones, the aimed fifth beam, the foot War's exact ramp.
|
||||
|
||||
## envy / super_envy: NpcAI::ENTITY_ENVY 004760a0 (51.x). Changed
|
||||
- friction *.9; push per axis .25 / .35 / .45 / .35 by size (variant 0 / 10 / 20 / 30), heading kept; children at
|
||||
health / 3, / 4, / 5 of the config's, two at +-RandomVector * 10 moving * .4, Super a third (turned) while tier <
|
||||
rand & 1 + 1.
|
||||
- Override: tier speeds [.25, .35, .45, .35], split health_divisor 3, hp 40 + 7.5 s for both.
|
||||
|
||||
## famine: NpcAI::ENTITY_FAMINE 00456c40 (63.0). Changed
|
||||
- friction *.8; MoveRandomlyBoss; rand % 40 with < 3 alive -> Attack1 (Pooter at RandomVector * 50; champion ring 6
|
||||
at 8); (|dy| < 20 or champion rand & 3 == 0) and rand % 5 -> dash at 18 (champion steers clamp(-dy / 100, .4)): one
|
||||
wrap (past BR.x + 200 to TL.x - 80 and back), ending as x passes its start x anywhere. Below 33%: HeadWalk,
|
||||
GetIntervalTicks(7) cooldown 8 within 300 -> HeadAttack: mode 2 at 10 toward Isaac (champion 10 boss shots), push
|
||||
.5 toward Isaac while cooled down.
|
||||
- Override: walk drift; stop [-1000, 1000] (no Flash stop window / rearm), wrap [-120, 800, 680, 0]; phase below .33;
|
||||
the headless shot speed 10, no lead, mode-2 fan; champion ring still.
|
||||
|
||||
## pestilence: NpcAI::ENTITY_PESTILENCE 00457840 (64.0). Changed
|
||||
- friction *.8; MoveRandomlyAxisAligned(1); splats IsFrame(3), creep IsFrame(7) scale 2; rolls rand % 40 under the
|
||||
enemy cap -> summon (two Chargers or two Spittys, one type), rand % 20 within 230 -> spit (green, explode + acid);
|
||||
phase at half. Flash's rolls and clips match.
|
||||
- Override: walk roam; champion rings still. Left: one summon type for both spawns.
|
||||
|
||||
## pride / super_pride: NpcAI::ENTITY_PRIDE 00479d80 (52.0 / 52.1). Changed
|
||||
- friction *.75; MoveRandomlyAxisAligned(1); rand % 50 -> 1 in 2 laser / bomb rain. Laser stateFrame 20: four
|
||||
diagonal Entity_Laser 4 (timeout 17), Super a ring of 6 at 8; rain from stateFrame 6 every 5: 4 troll bombs (Super
|
||||
2 megatrolls); ends past 45.
|
||||
- Override: walk roam; laser 21..38, ring on 21, still; hp 60 + 20 s (Super 25).
|
||||
|
||||
## the_fallen / krampus: NpcAI::ENTITY_FALLEN 0045b830 (81.0 / 81.1). Changed (partly)
|
||||
- friction *.8; MoveRandomlyAxisAligned(1); gate rand % 3; Fallen rand % 80 -> charge (home 1.4 / f toward Isaac + vel
|
||||
* 10, ends after 1/8 of max health taken, then the cross laser); Krampus rand % 20 aligned within 400 or rand % 200
|
||||
-> laser; rand % 20 within 230 -> Attack1 (Shoot mode 2, Shoot2 mode 4 at 8.2 toward Isaac + vel * 10); below half
|
||||
(spawned by none of its type) splits in two at half health, scale .75.
|
||||
- Override: walk roam; shot lead 10 with mode 2 / 4 fans; lunge lead 10; hp 60 + 45 s (Krampus the same). Left:
|
||||
Krampus' rotating Attack2Alt (1 in 4), the warning lasers' timing.
|
||||
|
||||
## death: NpcAI::ENTITY_DEATH 00459d20 (66.0). Changed (walk)
|
||||
- MoveRandomlyBoss; rolls rand % 90 (scythes when non-boss enemies < 1 + rand & 1), rand % 180 hourglass (no slow
|
||||
active), rand % 100 walls (< 4 non-boss enemies); scythes at stateFrame 20, 250 + 100 rand out, over 150 from
|
||||
Isaac. Flash matches.
|
||||
- Override: walk drift.
|
||||
|
||||
## mom: NpcAI::ENTITY_MOM 004d1290 (45.0). Changed (partly)
|
||||
- Spawn pools (exe tables 00b60358 / 00b60388): 10.0 (Frowning Gaper), 11, 12, 14, 15, 16, 18, 21, 23, 24, 26, 26.1;
|
||||
champion 85, 94, 89, 86, 29.1 (Flash's, but its first entry is the Gaper). baseHP 645.
|
||||
- Override: spawn_pool's first entry frowning_gaper, hp 645. Left: the rest is not re-read (QuickStomp and the
|
||||
Mausoleum subtypes are Rep-only).
|
||||
|
||||
## moms_heart / it_lives: NpcAI::ENTITY_MOMS_HEART 004d48b0 (78.0 / 78.1). Partial
|
||||
- Rep reworks it (pattern tables at 00b1eea0 / 00b1eee8 / 00b1efc0, shockwaves); not ported. baseHP 950 for both.
|
||||
- Override: It Lives' health share 1.25 -> 1.
|
||||
|
||||
## isaac (102.0, NpcAI::ENTITY_ISAAC 00463100, 1714 lines) / satan (84.0, NpcAI::ENTITY_SATAN 0047f640): not ported
|
||||
- Repentance's Isaac is reworked (projectile patterns per phase); health 2000 and Satan's 600 already match.
|
||||
Reference in new issue
Block a user