jaroslavtyc/drd-plus-health

View on GitHub
Health/Afflictions/Effects/HungerEffect.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php declare(strict_types=1);

namespace DrdPlus\Health\Afflictions\Effects;

/**
 * @method static HungerEffect getEnum($enumValue)
 */
class HungerEffect extends AfflictionEffect
{
    public const HUNGER_EFFECT = 'hunger_effect';

    public static function getIt(): HungerEffect
    {
        return static::getEnum(self::HUNGER_EFFECT);
    }

    public function isEffectiveEvenOnSuccessAgainstTrap(): bool
    {
        return true;
    }

}