Basic projectile implementation (put sample version in FilthEaterModelView)
This commit is contained in:
@@ -3,6 +3,7 @@ using Chickensoft.Introspection;
|
||||
using Chickensoft.Serialization;
|
||||
using Godot;
|
||||
using Zennysoft.Ma.Adapter;
|
||||
using Zennysoft.Ma.Adapter.Entity;
|
||||
|
||||
namespace Zennysoft.Game.Ma;
|
||||
|
||||
@@ -28,7 +29,7 @@ public partial class Weapon : EquipableItem
|
||||
|
||||
public override float ThrowSpeed => Stats.ThrowSpeed;
|
||||
|
||||
public double Luck => Stats.Luck;
|
||||
public double Luck => Stats.BonusLuck;
|
||||
|
||||
public double AttackSpeed => Stats.AttackSpeed;
|
||||
|
||||
@@ -38,6 +39,8 @@ public partial class Weapon : EquipableItem
|
||||
|
||||
public ElementType WeaponElement => Stats.WeaponElement;
|
||||
|
||||
public override ElementalResistanceSet ElementalResistance => new ElementalResistanceSet(Stats.AeolicResistance, Stats.HydricResistance, Stats.IgneousResistance, Stats.FerrumResistance, Stats.TelluricResistance);
|
||||
|
||||
public void IncreaseWeaponAttack(int bonus) => _extraDamage += bonus;
|
||||
|
||||
public override int BonusAttack { get => Stats.BonusAttack + _extraDamage; }
|
||||
|
||||
Reference in New Issue
Block a user