Delta-v/Content.Shared/Polymorph
Bakke a9b797a091
Fix robusted dionas not being recoverable (#21636)
* Fix robusted dionas not being recoverable

* Implement a polymorph cooldown field, used for TreeMorph

Allows the polymorphed Diona some time to work off robust harvest
without immediately polymorphing again.

* Minor adjustment to polymorph cooldown timing

* Apply suggestions from code review

Co-authored-by: Kara <lunarautomaton6@gmail.com>

* fix: trigger polymorph revert on destruction

As suggested by mirrorcult, DamageThresholdReached is not the ideal
candidate for reverting a polymorph on destruction, as there exists a
DestructionEventArgs to listen for instead.

---------

Co-authored-by: Kara <lunarautomaton6@gmail.com>
2024-01-04 06:10:04 -07:00
..
PolymorphActions.cs Refactor actions to be entities with components (#19900) 2023-09-08 18:16:05 -07:00
PolymorphPrototype.cs Fix robusted dionas not being recoverable (#21636) 2024-01-04 06:10:04 -07:00