forked from phenom/healer-man
Update Healer Man server
This commit is contained in:
1 parent
35dfdaed61
commit
4fb7a0b9c8
161 files changed
+24618
-529
No files matched your search
@@ -1,6 +1,29 @@
|
||||
export const ROM_ROGUE_DAGGER_MASTERY_TAG = "rom-dagger-mastery";
|
||||
export const ROM_ROGUE_TREASURE_HUNTER_TAG = "rom-treasure-hunter";
|
||||
export const ROM_ROGUE_SHADOW_WALKER_PASSIVE_SPELL_ID = 491537;
|
||||
export const ROM_ROGUE_INSTANT_SHADOW_READY_TAG = "rom-rogue-instant-shadow-ready";
|
||||
|
||||
export interface RomRogueEnchantedThrowContext {
|
||||
readonly classId: string;
|
||||
readonly secondaryClassId: string | null | undefined;
|
||||
readonly sourceActorId: string;
|
||||
readonly playerActorId: string;
|
||||
readonly attackKind: string;
|
||||
readonly isAutoAttack: boolean;
|
||||
readonly attackLanded: boolean;
|
||||
readonly enchantedThrowActive: boolean;
|
||||
}
|
||||
|
||||
/** Enchanted Throw only follows a landed Rogue/Mage normal attack while its buff is active. */
|
||||
export function romRogueEnchantedThrowShouldProc(context: RomRogueEnchantedThrowContext): boolean {
|
||||
return context.classId === "rom-rogue"
|
||||
&& context.secondaryClassId === "rom-mage"
|
||||
&& context.sourceActorId === context.playerActorId
|
||||
&& context.attackKind === "melee"
|
||||
&& context.isAutoAttack
|
||||
&& context.attackLanded
|
||||
&& context.enchantedThrowActive;
|
||||
}
|
||||
|
||||
export interface RomRogueAbilityAdjustment {
|
||||
readonly allowsCombatUse: boolean;
|
||||
|
||||
Reference in new issue
Block a user