Delta-v/Content.Client/GameObjects/Components/Mobs
DrSmugleaf 02bca4c0d8
Damage rework (#2525)
* Make damage work through messages and events, make destructible not inherit ruinable or reference damageable

* Copy sound logic to destructible component for now

* Fix typo

* Fix prototype error

* Remove breakable component damageable reference

* Remove breakable construction reference

* Remove ruinable component

* Move thresholds to individual components and away from damageable

* Add threshold property to damageable component code

* Add thresholds to destructible component, add states to damageable, remove damage container, fix up mob states

* Being alive isn't normal

* Fix not reading the id

* Merge fixes

* YAML fixes

* Grammar moment

* Remove unnecessary dependency

* Update thresholds doc

* Change naming of thresholds to states in MobStateComponent

* Being alive is once again normal

* Make DamageState a byte

* Bring out classes structs and enums from DestructibleComponent

* Add test for destructible thresholds

* Merge fixes

* More merge fixes and fix rejuvenate test

* Remove IMobState.IsConscious

* More merge fixes someone please god review this shit already

* Fix rejuvenate test

* Update outdated destructible in YAML

* Fix repeatedly entering the current state

* Fix repeatedly entering the current state, add Threshold.TriggersOnce and expand test

* Update saltern
2020-12-07 14:52:55 +01:00
..
State Damage rework (#2525) 2020-12-07 14:52:55 +01:00
AlertControl.cs Add readonly where it is missing and fix those field names according to their modifiers (#2589) 2020-11-22 00:02:00 +11:00
CameraRecoilComponent.cs Fixes CameraRecoil runtime (#2662) 2020-12-01 20:41:16 +01:00
ClientAlertsComponent.cs Use 'new' expression in places where the type is evident for content (#2590) 2020-11-27 21:00:49 +11:00
ClientOverlayEffectsComponent.cs Use 'new' expression in places where the type is evident for content (#2590) 2020-11-27 21:00:49 +11:00
CombatModeComponent.cs Replace pragma warning 649 disable/restore with default! 2020-08-24 14:10:28 +02:00
DamageStateVisualizer.cs Added enum types (#2701) 2020-12-04 11:57:33 +01:00
HumanoidAppearanceComponent.cs Fix mechanism events not being called properly, add test (#2279) 2020-10-17 12:26:39 +02:00
ICharacterUI.cs Objectives (#2459) 2020-11-22 18:38:07 +11:00
MeleeLungeComponent.cs Camera doesn't move on melee attack (#2107) 2020-11-03 13:30:36 -08:00
StunnableComponent.cs Update usages of ! is with is not (#2584) 2020-11-27 00:33:31 +11:00