Class GetSkillCheckChanceEvent


  • public final class GetSkillCheckChanceEvent
    extends ModifiableEvent<java.lang.Double>
    Determines the chance that a Skill Check will occur. Gets called whenever a Survivor is fixing or healing. Default: 0.003 if the reason is repair, 0.07 if the reason is heal.
    • Constructor Detail

      • GetSkillCheckChanceEvent

        public GetSkillCheckChanceEvent​(Survivor survivor,
                                        SkillCheckReason reason)
        The default constructor.
        Parameters:
        survivor - The Survivor who might see a Skill Check.
        reason - The reason of the Skill Check.
        Throws:
        java.lang.IllegalArgumentException - If the reason is not HEAL or REPAIR.