api/LibFail-2.0

lib:GetEventConstraints(event)

Get a tabe of constraints with their default values for the event

Parameters

event
the event name

Return value

a table with ["Constraint Name"] = value pairs or returns nil if no constraints

See also

  • lib.CONSTRAINTS


lib:GetEventDescription(event)

Get a fail events description

Parameters

event
the event name

Return value

a description somewhat related to the fail event

See also

  • failEvents in the code


lib:GetEventFancyName(event)

Get a fail events localized name, including a spell link when possible

Parameters

event
the event name

Return value

a fail events fancy name

See also

  • failEvents page


lib:GetEventName(event)

Get a fail events localized name

Parameters

event
the event name

Return value

a fail events localized name

See also

  • failEvents page


lib:GetLocalizedBoss(boss)

Returns the localized boss name for a supported boss

Parameters

boss
the boss to get localized boss for

Return value

the localized boss name

See also

  • localization strings or the encounter journal


lib:GetLocalizedConstraint(event, constraint)

Returns the localized constraint name of the given constraint in the given fail event

Parameters

event
constraint

Return value

the localized constraint name in the given fail event

See also

  • lib.CONSTRAINTS


lib:GetLocalizedZone(zone)

Returns the localized zone name from a supported zone

Parameters

zone
the zone name to get localized zone for

Return value

the localized zone name

See also

  • localization strings


lib:GetOverkillOnlyOption(event)

Returns true if there is an option for overkill only

Parameters

event
the event name

Return value

true if there is an option for overkill only on the event

See also

  • lib.OVERKILL_ONLY_LIST


lib:GetSupportedBossEvents(boss)

Get a list of supported events at the given boss

Parameters

boss

Return value

a table of event names which can be fired at the boss

See also

  • failEvents page


lib:GetSupportedEvents()

Get a list of supported events.

Return value

a table of event names which can be fired

See also

  • failEvents page


lib:GetSupportedZoneBosses(zone)

Get a List of Bosses at the given zone for the supported events

Parameters

zone

Return value

a table of boss names at the given zone for the supported events

See also

  • failEvents page


lib:GetSupportedZoneEvents(zone)

Get a list of supported events in the given zone

Parameters

zone

Return value

a table of event names which can be fired in the zone

See also

  • failEvents page


lib:GetSupportedZones()

Get a List of supported Zones

Return value

a table of zone names that are supported

See also

  • failEvents page


lib:GetTanksDontFailOption(event)

Returns true if there is an option for tanks not failing on the event

Parameters

event
the event name

Return value

true if there is an option for tanks not failing on the event

See also

  • lib.TANKS_DONT_FAIL_LIST


lib:InitVariables()

Initialization


lib.CONSTRAINTS

Description
the table holding ["Constraint Type"] = value pairs for failEvents


lib.OVERKILL_ONLY_LIST

Description
the table holding [event] = overkill-only setting pairs for failEvents. The value is true to only report supported events when they are a killing blow.


lib.TANKS_DONT_FAIL_LIST

Description
the table holding [event] = tanks-dont-fail setting pairs for failEvents. The value is true to suppress fails on tanks for supported events



Comments

Posts Quoted:
Reply
Clear All Quotes