diff options
| author | Matheus <matheus.guedes.mg.m@gmail.com> | 2025-09-04 18:31:40 -0300 |
|---|---|---|
| committer | Matheus <matheus.guedes.mg.m@gmail.com> | 2025-09-04 18:31:40 -0300 |
| commit | 1e248d3dd18f7c6bfaf8066c4662facbbb89e8f9 (patch) | |
| tree | 8250335d5ad8176da05f7243052b9af85802c7ed /scripts/entities/actors | |
| parent | 147bb12b5d48c5432aa1bd1cbe60b8435294445b (diff) | |
Itens na masmorra
Diffstat (limited to 'scripts/entities/actors')
| -rw-r--r-- | scripts/entities/actors/Actor.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/entities/actors/Actor.cs b/scripts/entities/actors/Actor.cs index dc8ba53..1717cfa 100644 --- a/scripts/entities/actors/Actor.cs +++ b/scripts/entities/actors/Actor.cs @@ -156,7 +156,7 @@ public partial class Actor : Entity base.SetDefinition(definition); this.definition = definition; - ZIndex = 1; + Type = definition.Type; MaxHp = definition.Hp; Hp = definition.Hp; @@ -207,7 +207,7 @@ public partial class Actor : Entity Texture = definition.deathTexture; BlocksMovement = false; - ZIndex = 0; + Type = EntityType.CORPSE; DisplayName= $"Restos mortais de {DisplayName}"; Map_Data.UnregisterBlockingEntity(this); EmitSignal(SignalName.Died); |
