ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   Wish List (https://www.esoui.com/forums/forumdisplay.php?f=177)
-   -   [implemented] Add AbilityId to GetKillingAttackInfo() (https://www.esoui.com/forums/showthread.php?t=7382)

ArtOfShred 09/25/17 06:54 PM

[implemented] Add AbilityId to GetKillingAttackInfo()
 
GetKillingAttackInfo(number index)
Returns: string attackName, number attackDamage, textureName attackIcon, boolean wasKillingBlow, number castTimeAgoMS, number durationMS, number numAttackHits, number AbilityId

I was wondering if it would be possible to add the abilityId of an attack into GetKillingAttackInfo()?

I've undertaken quite an endeavour to add custom icons for various attacks, monster sets, and enemy abilities into the default buff/debuff frames and for the buff/debuff frames added in LUIExtended as well as Combat Cloud, with some hook support for other addons. (Small sample here: https://puu.sh/xIVRH.png)

GetKillingAttackInfo() is the only case I've run into where I can't modify the data shown for an ability based off the abilityId.

Right now I'm in the process of trying to also add the icons to Death Recap for consistency - however I'm stuck doing in it a rather draconian method where I build a custom table of attackIcons, attackNames and enemy names to determine what to replace. I have the ability to modify most values this way but with certain shared attack names there's not an easy way to resolve things outside of adding an entry for all NPC names that happen to use that ability.

ZOS_ChipHilseberg 09/27/17 04:25 PM

Yeah, we can do that.

ArtOfShred 09/28/17 10:24 AM

Quote:

Originally Posted by ZOS_ChipHilseberg (Post 32765)
Yeah, we can do that.

Awesome, this will save me so much time!


All times are GMT -6. The time now is 12:22 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI