This change maintains the function of the spell whilst fixing an issue that often happens where when using body part miracle to replace someone's arms, it will give the wrong limbs for that species (i.e, drow will get human arms). Since the torso of a species determines how big clothes are on the actual sprite, this caused clothes to outright not fit properly.
It does this by regenerating the limbs using regenerate_limbs() instead of the attachment stuff used before and deletes the corresponding detached limbs nearby to simulate re-attachment whilst ensuring they get the correct limb types.
Why It's Good For The Game
Stops people looking fucking retarded by having huge ass human arms disproportionate to their body with clothes that don't fit.
About The Pull Request
This change maintains the function of the spell whilst fixing an issue that often happens where when using body part miracle to replace someone's arms, it will give the wrong limbs for that species (i.e, drow will get human arms). Since the torso of a species determines how big clothes are on the actual sprite, this caused clothes to outright not fit properly.
It does this by regenerating the limbs using regenerate_limbs() instead of the attachment stuff used before and deletes the corresponding detached limbs nearby to simulate re-attachment whilst ensuring they get the correct limb types.
Why It's Good For The Game
Stops people looking fucking retarded by having huge ass human arms disproportionate to their body with clothes that don't fit.