パッケージ model.weapon
クラス Deathmatch
java.lang.Object
model.entity.Weapon
model.weapon.Deathmatch
-
コンストラクタの概要
コンストラクタ -
メソッドの概要
修飾子とタイプメソッド説明voidapplyPassive(StatsContainer stats, double currentTime) Applies the weapon's passive effect to the provided stats container.voidsetSingleTarget(boolean isSingleTarget) Set the battlefield context.クラスから継承されたメソッド model.entity.Weapon
getBaseAtk, getName, getStats, getTeamBuffs, onAction, onDamage
-
コンストラクタの詳細
-
Deathmatch
public Deathmatch()
-
-
メソッドの詳細
-
setSingleTarget
public void setSingleTarget(boolean isSingleTarget) Set the battlefield context.- パラメータ:
isSingleTarget- true if < 2 enemies (default), false if >= 2 enemies.
-
applyPassive
クラスからコピーされた説明:WeaponApplies the weapon's passive effect to the provided stats container. Called during stat compilation byCharacter.getEffectiveStats(double)andCharacter.getStructuralStats(double). Default implementation is a no-op.- オーバーライド:
applyPassiveクラス内Weapon- パラメータ:
stats- the stats container to mutate in-placecurrentTime- simulation time in seconds (for time-gated passives)
-