add more options and new priority

This commit is contained in:
pepopo978
2024-06-12 17:38:05 -07:00
parent 3980450a40
commit 083909bf8e
2 changed files with 66 additions and 35 deletions
+20 -16
View File
@@ -25,17 +25,32 @@ EXAMPLE: `/cursive curse Corruption|target` will attempt to cast Corruption on y
### Multicurse
`/cursive multicurse <spellName:str>|<priority?:str>|<options?:str>`: Picks target based on priority and casts spell if not already on target and they aren't cc'ed.
Priority options: HIGHEST_HP, RAID_MARK
EXAMPLE: `/cursive multicurse Corruption|HIGHEST_HP` will attempt to cast Corruption picking the target with the highest HP that doesn't already have it and will warn you if it does nothing.
## Priority Options
- HIGHEST_HP - Target highest HP enemy without a curse first.
- RAID_MARK - Target largest raid mark enemy without a curse first. Raid mark priority is as follows:
- Skull = 8 (1st priority)
- Cross = 7
- Square = 6
- Moon = 5
- Triangle = 4
- Circle = 3
- Star = 2
- Diamond = 1 (8th priority)
- No mark = 0
- HIGHEST_HP_RAID_MARK - Target highest HP enemy with a raid (use raid mark priorities for identical hp), then highest HP enemy without a mark.
## Command Options
All commands can take the following options separated by commas:
- ["warnings"] : "Display text warnings when a curse fails to cast.",
- ["resistsound"] : "Play a sound when a curse is resisted.",
- ["expiringsound"] : "Play a sound when a curse is about to expire.",
- `warnings` : "Display text warnings when a curse fails to cast.",
- `resistsound` : "Play a sound when a curse is resisted.",
- `expiringsound` : "Play a sound when a curse is about to expire.",
- `allowooc` : "Allow out of combat targets to be multicursed. Would only consider using this solo to avoid potentially griefing raids/dungeons by pulling unintended mobs.",
- `minhp=<number>` : "Minimum HP for a target to be considered.",
EXAMPLE: `/cursive multicurse Corruption|HIGHEST_HP|warnings,resistsound,expiringsound`
EXAMPLE: `/cursive multicurse Corruption|HIGHEST_HP|warnings,resistsound,expiringsound,minhp=10000`
## Important info
@@ -53,14 +68,3 @@ All commands will ignore targets with the following CCs on them:
- Freezing Trap
Multicurse will only ever target enemies that are already in combat (except if you target a mob directly first) to prevent pulling things you didn't intend like marked patrols.
Raid mark priority is based on the following order:
- Skull = 8
- Cross = 7
- Square = 6
- Moon = 5
- Triangle = 4
- Circle = 3
- Star = 2
- Diamond = 1
- No mark = 0