Files
Bubberstation/code/modules/spells
SkyratBot b5dbc721ec [MIRROR] Remove shapeshift if the mob tries to turn into a different mob [MDB IGNORE] (#24612)
* Remove shapeshift if the mob tries to turn into a different mob (#79270)

## About The Pull Request

Fixes #78250

Bileworms, baby chicks, and various kinds of young spider automatically
try to change into a different mob after some time.
This bricks shapeshift spells because you can't transform back after
being turned into another kind of mob (and sometimes also ghosts you by
deleting your original body).
Now we have a signal before we try to call `change_type` on a mob which
is intercepted by the shapeshift status effect and cancels both things.

Unfortunately this doesn't make turning into a Bileworm fun to play,
their movement is always random because it's designed for an AI not a
player 😔

## Changelog

🆑
fix: If a mob you are shapeshifted into attempts to grow up into a
different kind of mob then you will stop being shapeshifted
/🆑

* Remove shapeshift if the mob tries to turn into a different mob

---------

Co-authored-by: Jacquerel <hnevard@gmail.com>
2023-10-27 03:56:56 -04:00
..