Documentation

HitWeaponResult extends WeaponResult
in package

FinalYes

Represents a weapon hit a target, including the damage applied, taken, and an on-kill callback.

Tags
template-covariant

of CombatantInterface

Table of Contents

Properties

$actualDamage  : TakenDamage
$killResult  : KillResultInterface|null
$target  : CombatantInterface
$weapon  : AbstractWeapon
$weaponDamage  : WeaponDamage

Methods

__construct()  : mixed
The target's CombatantInterface specialization determines actual damage type.

Properties

Methods


        
On this page

Search results