public function bleed(Bleeding $bleeding, WoundsTable $woundsTable, WoundBoundary $woundBoundary): Wound
    {
        // see PPH page 78 right column, Bleeding
        $effectSize = $bleeding->getAfflictionSize()->getValue() - 6;
        $woundsFromTable = $woundsTable->toWounds(new WoundsBonus($effectSize, $woundsTable));
        $woundSize = new WoundSize($woundsFromTable->getValue());
        $woundCausedBleeding = $bleeding->getSeriousWound();

        return $woundCausedBleeding->getHealth()->addWound(
            $woundSize,
            $woundCausedBleeding->getWoundOriginCode(),
            $woundBoundary
        );
    }
public function bleed(Bleeding $bleeding, WoundsTable $woundsTable, WoundBoundary $woundBoundary): Wound
    {
        // see PPH page 78 right column, Bleeding
        $effectSize = $bleeding->getAfflictionSize()->getValue() - 6;
        $woundsFromTable = $woundsTable->toWounds(new WoundsBonus($effectSize, $woundsTable));
        $woundSize = new WoundSize($woundsFromTable->getValue());
        $woundCausedBleeding = $bleeding->getSeriousWound();

        return $woundCausedBleeding->getHealth()->addWound(
            $woundSize,
            $woundCausedBleeding->getWoundOriginCode(),
            $woundBoundary
        );
    }
public function bleed ( Bleeding $ bleeding , WoundsTable $ woundsTable , WoundBoundary $ woundBoundary ) : Wound { // see PPH page 78 right column, Bleeding $ effectSize = $ bleeding -> getAfflictionSize ( ) -> getValue ( ) - 6 ; $ woundsFromTable = $ woundsTable -> toWounds ( new WoundsBonus ( $ effectSize , $ woundsTable ) ) ; $ woundSize = new WoundSize ( $ woundsFromTable -> getValue ( ) ) ; $ woundCausedBleeding = $ bleeding -> getSeriousWound ( ) ; return $ woundCausedBleeding -> getHealth ( ) -> addWound ( $ woundSize , $ woundCausedBleeding -> getWoundOriginCode ( ) , $ woundBoundary ) ; }
Creates new wound right in the health of origin wound
@param Bleeding $bleeding
@param WoundsTable $woundsTable
@param WoundBoundary $woundBoundary
@return SeriousWound|OrdinaryWound|Wound
@throws \DrdPlus\Health\Exceptions\NeedsToRollAgainstMalusFromWoundsFirst
Creates new wound right in the health of origin wound