Skip to main content

Shared cooldowns, real reach and Re-Winged

This is Apoli 1.99.0 and Origins 1.46.1.

Two abilities, one cooldown

apoli:trigger_cooldown starts the cooldown of any power that has one, such as apoli:active_self, key sequences, fire_projectile and the hit and kill powers, and not only apoli:cooldown. Pointed at an active_self, it used to do nothing at all, so two abilities couldn't share a cooldown. A cooldown that's already running is still left alone.

Raycasts reach as far as you do

An apoli:raycast with no distance now stops where your hand does: 4.5 blocks for blocks and 3 for entities, plus any reach bonuses you have, creative's included. It used to be 20 blocks for both, so a "what am I looking at" check could see things you couldn't touch. The raycast condition works the same way.

Am I in a set?

apoli:in_entity_set is now an entity condition too. It counts the entity sets the entity belongs to, optionally only the sets of one power, and compares that number, so a party member can check its own membership without knowing who the leader is.

Icarus: Re-Winged

Wings drawn by Icarus: Re-Winged follow apoli:modify_model_parts and apoli:model_color the same way Icarus's own wings do. Re-Winged draws wings with its own models (every wing on 1.21.1, and its own wing items on 1.20.1), and those models skipped Apoli's part edits and tints until now.

Compatibility

Origins 1.46.1 needs Apoli 1.99.0 or newer. Raycasts that leave out distance are shorter now, so add "distance": 20 to one that relied on the old range. Re-Winged support is drawn in each player's own game, so viewers need Apoli 1.99.0 too.