ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   General Authoring Discussion (https://www.esoui.com/forums/forumdisplay.php?f=174)
-   -   Can bash ? (https://www.esoui.com/forums/showthread.php?t=9050)

CorpDady 03/25/20 04:27 AM

Can bash ?
 
Hi , do you know if function exist for know if you can bash if you have the distance for bash and if you have the resource for bash ?

Baertram 03/25/20 05:19 AM

No, no, yes :D

Only the ressources can be tracked via event
Code:

EVENT_POWER_UPDATE (number eventCode, string unitTag, number powerIndex, CombatMechanicType powerType, number powerValue, number powerMax, number powerEffectiveMax)
Add a filter to the event so it only applies to yourself (unittag: player), described here:
https://wiki.esoui.com/AddFilterForEvent

And maybe only track the stamina CombatMechanicType (powertype).
But how much stamina the bash costs is maybe not a fixed value! Not sure if one can determine this at all, I doubt it.
Depending on your race, class, passive skills, equipped skills it may cost more or less stamina to bash.

CorpDady 03/25/20 05:53 AM

Hum ok , thx for this fast reply


All times are GMT -6. The time now is 10:55 PM.

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