Elemental resistance calculation changes
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
using Chickensoft.AutoInject;
|
||||
using Chickensoft.Introspection;
|
||||
using Godot;
|
||||
using Godot.Collections;
|
||||
using System;
|
||||
using System.Collections.Immutable;
|
||||
using System.Linq;
|
||||
@@ -45,6 +46,18 @@ public abstract partial class Enemy : CharacterBody3D, IEnemy, IProvide<IEnemyLo
|
||||
|
||||
[Export] public int ExpGiven { get; set; } = 10;
|
||||
|
||||
[Export] public double AeolicResistance { get; set; }
|
||||
|
||||
[Export] public double HydricResistance { get; set; }
|
||||
|
||||
[Export] public double IgenousResistance { get; set; }
|
||||
|
||||
[Export] public double FerrumResistance { get; set; }
|
||||
|
||||
[Export] public double TelluricResistance { get; set; }
|
||||
|
||||
public ElementalResistanceSet ElementalResistanceSet => new ElementalResistanceSet(AeolicResistance, HydricResistance, IgenousResistance, FerrumResistance, TelluricResistance);
|
||||
|
||||
[Node] private AudioStreamPlayer3D _absorbSFX { get; set; } = default!;
|
||||
[Node] private AudioStreamPlayer3D _hitSFX { get; set; } = default!;
|
||||
[Node] private AudioStreamPlayer3D _morphSFX { get; set; } = default!;
|
||||
|
||||
Reference in New Issue
Block a user