jaroslavtyc/drd-plus-health

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

Summary

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

namespace DrdPlus\Health\Afflictions\Effects;

/**
 * @method static ThirstEffect getEnum($enumValue)
 */
class ThirstEffect extends AfflictionEffect
{
    public const THIRST_EFFECT = 'thirst_effect';

    public static function getIt(): ThirstEffect
    {
        return static::getEnum(self::THIRST_EFFECT);
    }

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

}