Add more boxes, implement weapon that gets stronger on lower HP

This commit is contained in:
2026-02-04 23:51:07 -08:00
parent d45bc67722
commit 8a99771491
11 changed files with 165 additions and 2 deletions

View File

@@ -2,6 +2,7 @@ using Chickensoft.AutoInject;
using Chickensoft.Introspection;
using Chickensoft.Serialization;
using Godot;
using System;
using Zennysoft.Ma.Adapter;
using Zennysoft.Ma.Adapter.Entity;
@@ -44,6 +45,8 @@ public partial class Weapon : EquipableItem
public void IncreaseWeaponAttack(int bonus) => _bonusDamage += bonus;
public void SetWeaponAttack(int newBonus) => _bonusDamage = newBonus;
public override int BonusAttack { get => Stats.BonusAttack + _bonusDamage; }
[Save("weapon_bonus_damage")]