Curation round 20: player update, costumes and render, Missing No., the last actives and cards, familiars, Pin, the Frail, Wormwood and the Heretic, Dross to Gehenna, effects and the devil room purchase, champion colours, the quit path, save fields, shared vector helpers
This commit is contained in:
1 parent
ee863e70e6
commit
8dbeb1bc4a
168 files changed
+15682
-2399
No files matched your search
@@ -606,7 +606,7 @@ static void pulse_champion_update(Entity_NPC& npc)
|
||||
npc.sprite.championColor = tint_color_make(sheet[0], sheet[1], sheet[2], 1 - slowPulse);
|
||||
|
||||
if (npc.championColorIdx == CHAMPION_PULSE_GREY && slowPulse < PULSE_PUSH_END)
|
||||
pulse_tears_push(npc, lerp_clamped(slowPulse, PULSE_PUSH_START, PULSE_PUSH_END, 1, 0));
|
||||
pulse_tears_push(npc, lerp_range(slowPulse, {PULSE_PUSH_START, PULSE_PUSH_END, 1, 0}));
|
||||
else if (npc.championColorIdx == CHAMPION_PULSE_RED && npc.IsFrame(PULSE_HEAL_FRAMES, (int)npc.index))
|
||||
pulse_enemies_heal(npc);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user