-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
* Add module for tracking unused Divine Grace opportunities - but it bork * Change module structure, fix wrong action, still borked. * Attempt to add debug messages and fix some other messes * Fix severity tiers, remove debug, finalize changes * Add changelog entry
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,15 @@ | ||
// import CONTRIBUTORS from 'data/CONTRIBUTORS' | ||
// import React from 'react' | ||
import CONTRIBUTORS from 'data/CONTRIBUTORS' | ||
import React from 'react' | ||
|
||
export const changelog = [ | ||
// { | ||
// date: new Date('2021-11-19'), | ||
// Changes: () => <>The changes you made</>, | ||
// contributors: [CONTRIBUTORS.YOU], | ||
// }, | ||
{ | ||
date: new Date('2024-07-22'), | ||
Changes: () => <>Added tracking for unused Divine Caress procs</>, | ||
contributors: [CONTRIBUTORS.INNI], | ||
}, | ||
] |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import {Trans} from '@lingui/react' | ||
import {Procs as CoreProcs} from 'parser/core/modules/Procs' | ||
import {SEVERITY} from 'parser/core/modules/Suggestions' | ||
import React from 'react' | ||
|
||
export class DivineCaress extends CoreProcs { | ||
|
||
//Track Divine Caress as the only status currently | ||
override trackedProcs = [ | ||
{ | ||
procStatus: this.data.statuses.DIVINE_GRACE, | ||
consumeActions: [this.data.actions.DIVINE_CARESS], | ||
}, | ||
] | ||
override showDroppedProcSuggestion = true; | ||
override droppedProcIcon = this.data.actions.DIVINE_CARESS.icon; | ||
override droppedProcContent = | ||
<Trans id="whm.procs.suggestions.dropped-divine-caress.content"> | ||
Try to use Divine Caress whenever you have used Temperance. It is a free, groupwide oGCD shield and heal over time! | ||
</Trans> | ||
override droppedProcSeverityTiers = { | ||
1: SEVERITY.MEDIUM, | ||
3: SEVERITY.MAJOR, | ||
} | ||
} |