Lost Souls: Free Text-Based RPG
Home » Changelog » Page 180 » Entry #8255

System Changelog Entry #8255

^
#
|<
<<
>>
>|
Summary Fixed melioration potions
Rated Importance
5.0
1 rater
*****
Rated Value
5.0
1 rater
*****
Type lib revision
By Aeriella
When Nov 22 2023 7:53 PM
Description Melioration potions were not properly applying their effects because the potion_consumed() function was resetting the Effect_Subject field in the effect descriptor passed to the effect right after applying it -- this caused the effect to fail since it would have no target to apply anything to. Now the potion_consumed() function takes a copy of the potion effect descriptor instead and manipulates that, so there is not a need to reset the actor and subject fields after applying an effect (which causes non-instant effects to fail).
Reason Melioration potions not working was making me sad.
Result Melioration potions should work now.
Version not updated

© 2008-2012 Lost Souls, a free text-based RPG
processing time: 0.005s