HitsplatDefinition
interface HitsplatDefinitionfun maxHit(target: Npc, splat: HitsplatDefinition) { val amount = splat.max ?: 25 val hitsplats = target.findComponent<HitSplats>() ?: HitSplats().also { target.addComponent(it) } hitsplats.pending.add(HitSplat(amount, splat, isMax = true))}val name: Stringval id: Intval asset: Assetothers
Section titled “others”val others: Intval max: Int?