characters_11: Birthright notes (Belial passive, Bethany, Tainted Bethany wisps, costume colours)

This commit is contained in:
shweet committed 2026-10-25 21:39:54 -04:00
1 parent 7ea12c236e
commit ac5188c4e6
1 file changed
+21
+21
View File
@@ -107,3 +107,24 @@ read with `./decompile.sh --asm` from the case address (variant jump table at 0x
4), +0x2028 = the flags, EvaluateItems on a change); with creep flag 0x40 also FUN_007cbc60(4): the hallowed ground
countdown (+0x1d90) = min(+4, 4); ground players (grid class 5) get the creep's footprint colour.
- EvaluateItems: tear colour colorize (5, 6, 6, 1) for Sacred Heart (0xb6) or _hallowedGroundCountdown > 0.
## Birthright (0x26b) per character, the rest
- Judas: Entity_Player::trigger_book_of_belial_passive (005c9930, needs 0x3b, the passive Belial, run after
TriggerBookOfVirtues): most actives with maxCharges >= 1 and charge type 0: AddEffect(null item 0x7b, count = the
charges used, else max(1, initCharge)), SOUND 0x22 (0x1d7 with Belial's effect or null 0x7b already on), a 1000.15
poof under 4 charges else a ground poof. EvaluateItems: damage += 2 * count(0x7b) / 3 in the damage-up sum (before
the curve). Specials: 0x22/0x3b/0x85 nothing; 0x28/0x7e a Necronomicon (UseActiveItem 0x23) + shake 8; 0x7f null
0x81 (2); 0x87 null 0x7b; 0xba/0x26f collectible effect 0x7e; 0x127 1 in 4 effect 0x22b; 0x22b each vulnerable
enemy 1 in 3 AddMidasFreeze(3) and takes 2 * melee + 15; 0x282 null 0x82.
- Bethany (0x12): the soul charge spend is skipped when RandomInt(2) == 0 (it tries the blood charge, which she
lacks), so half her soul-charged uses are free.
- Tainted Bethany (0x24): update_effects (00794e50) per queued null effect: a weighted Lemegeton pool pick, item
filter 0x753d60 (types 3/4... quality +0xc0 >= 3), AddItemWisp, then its _health (0x380) = HitPoints * 4.0
(@0x79bff8, 0xbaa75c). ai_wisp (0043aa90): wisp size = health / maxHP * 0.4 + 0.6 (core layer), sqrt of it for the
flame layer (x1.5 for subtype 0x242).
- UpdateCostumes (0075bf00): over the costume list, a costume entry with overwriteColor (+0x14) on a shown head layer
(index 4) gives the head colour (+0xc, highest priority +0x4 wins), on a body layer (index 1) the body colour;
config +0xa9 forceHeadColor / +0xaa forceBodyColor take it without the layer. A head/body colour change re-skins
the base sheets (costume_path_apply_skin_color); Tainted Jacob's ghost (0x23) in challenge 0x2a gets
gfx/characters/costumes/character_b16_theforgotten_bomb.png on every layer instead.