Commit Graph

5 Commits

Author SHA1 Message Date
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
DrSmugleaf
c71f97e3a2 Refactor actions to be entities with components (#19900) 2023-09-08 18:16:05 -07:00
DrSmugleaf
a88e747a0b Refactor serialization copying to use source generators (#19412) 2023-08-22 18:14:33 -07:00
Nemanja
e412eda97c Clean up polymorphsystem (#14297) 2023-03-06 09:37:18 -08:00
EmoGarbage404
2697bbf8c7 Polymorphs and Transformation (#8185) 2022-05-18 14:05:22 +10:00