パッケージ model.weapon

クラス WolfFang

java.lang.Object
model.entity.Weapon
model.weapon.WolfFang

public class WolfFang extends Weapon
  • コンストラクタの詳細

    • WolfFang

      public WolfFang()
  • メソッドの詳細

    • applyPassive

      public void applyPassive(StatsContainer stats, double currentTime)
      クラスからコピーされた説明: Weapon
      Applies the weapon's passive effect to the provided stats container. Called during stat compilation by Character.getEffectiveStats(double) and Character.getStructuralStats(double). Default implementation is a no-op.
      オーバーライド:
      applyPassive クラス内 Weapon
      パラメータ:
      stats - the stats container to mutate in-place
      currentTime - simulation time in seconds (for time-gated passives)
    • onDamage

      public void onDamage(Character user, AttackAction action, double currentTime, CombatSimulator sim)
      クラスからコピーされた説明: Weapon
      Called by the simulator when the equipped character deals damage. Use this hook to implement on-hit weapon passives. Default implementation is a no-op.
      オーバーライド:
      onDamage クラス内 Weapon
      パラメータ:
      user - the character who dealt the damage
      action - the attack action that triggered the damage event
      currentTime - simulation time in seconds at the damage event
      sim - the active combat simulator