Damage calculation including elemental buff/resistance
This commit is contained in:
38
src/player/PlayerStatInfo.cs
Normal file
38
src/player/PlayerStatInfo.cs
Normal file
@@ -0,0 +1,38 @@
|
||||
using Godot;
|
||||
|
||||
namespace GameJamDungeon
|
||||
{
|
||||
[GlobalClass]
|
||||
public partial class PlayerStatInfo : Resource, ICharacterStats
|
||||
{
|
||||
[Export]
|
||||
public double MaximumHP { get; set; }
|
||||
|
||||
[Export]
|
||||
public int MaximumVT { get; set; }
|
||||
|
||||
[Export]
|
||||
public int BaseAttack { get; set; }
|
||||
|
||||
[Export]
|
||||
public int BaseDefense { get; set; }
|
||||
|
||||
[Export]
|
||||
public double ElementAResistance { get; set; }
|
||||
|
||||
[Export]
|
||||
public double ElementBResistance { get; set; }
|
||||
|
||||
[Export]
|
||||
public double ElementCResistance { get; set; }
|
||||
|
||||
[Export]
|
||||
public double BaseElementADamageBonus { get; set; }
|
||||
|
||||
[Export]
|
||||
public double BaseElementBDamageBonus { get; set; }
|
||||
|
||||
[Export]
|
||||
public double BaseElementCDamageBonus { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user