Skip to content

Commit

Permalink
Class combat updates
Browse files Browse the repository at this point in the history
- Added combat type DETAILS_SEGMENTTYPE_EVENT_VALENTINEDAY.
- Added: SetDateToNow(bSetStartDate, bSetEndDate), set the start or end data to the current time.
- Added: GetEncounterName(): return the encounter name if any.
- Added: GetBossImage(): return the boss face.
- Added: GetSegmentSlotId(): return which slot in the segments table this combat is in.
- Added: GetCombatIcon(): return an atlastable containing texture information for the combat icon. example: a skull for a boss fight.
- Added: GetCombatName(bOnlyName, bTryFind): return a name for the combat.
- Added: GetTrinketProcsForPlayer(playerName): return table<spellid, trinketprocdata>.
- Added: GetFormattedCombatTime(): return elapsed time as string, format: "minute:seconds".
- Added combat.zoneName and combat.mapId.

- Renamed InstanceType() to GetInstanceType().
- Renamed: GetFormatedCombatTime() to GetMSTime(): return floors minute, second.
  • Loading branch information
Tercioo committed Feb 26, 2024
1 parent 7176e02 commit 71565d3
Showing 1 changed file with 344 additions and 58 deletions.
Loading

0 comments on commit 71565d3

Please sign in to comment.