Quantcast
PTS Get equipped champion skill ID - ESOUI
Thread Tools Display Modes
02/16/21, 05:38 AM   #1
CyberOnEso
 
CyberOnEso's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2017
Posts: 6
PTS Get equipped champion skill ID

Hello,
I was wondering if anyone would be able to help me find a way to see which nodes are currently slotted on the champion bar. Thus far I have not been able to find a way to do so.

PTS API Patch Notes: https://www.esoui.com/forums/attachm...5&d=1611861988

Any help would be really appreciated,
Many thanks in advance

Last edited by CyberOnEso : 02/16/21 at 12:46 PM.
  Reply With Quote
02/16/21, 07:48 AM   #2
Baertram
 
Baertram's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 3,339
Should be one of these I guess:
Code:
* PrepareChampionPurchaseRequest(*bool* _respecNeeded_)

* AddSkillToChampionPurchaseRequest(*integer* _championSkillId_, *integer* _newPendingPoints_)

* AddHotbarSlotToChampionPurchaseRequest(*luaindex* _slotIndex_, *integer* _championSkillId_)

* GetChampionPurchaseAvailability()
** _Returns:_ *[ChampionPurchaseResult|#ChampionPurchaseResult]* _result_

* GetExpectedResultForChampionPurchaseRequest()
** _Returns:_ *[ChampionPurchaseResult|#ChampionPurchaseResult]* _result_

* SendChampionPurchaseRequest()

* GetChampionDisciplineId(*luaindex* _disciplineIndex_)
** _Returns:_ *integer* _disciplineId_
  Reply With Quote
02/16/21, 08:21 AM   #3
CyberOnEso
 
CyberOnEso's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2017
Posts: 6
Thank you very much for your response.

Sadly I cannot find a way to get the current slotted champion points by any of those functions.

Last edited by CyberOnEso : 02/16/21 at 12:46 PM.
  Reply With Quote
02/16/21, 11:28 AM   #4
sirinsidiator
 
sirinsidiator's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 1,463
Did you check the code for the champion skill bar? The game shows the slotted skills there, so there has to be a way to get that info.
__________________
https://www.imperialtradingcompany.eu/ - My Addons - The Vault (Early updates and experimental projects) - My patreon - My blog
>siri.exe MyAddon
Does your addon work? [y/n] n
There is a typo in there.
  Reply With Quote
02/16/21, 06:31 PM   #5
CyberOnEso
 
CyberOnEso's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2017
Posts: 6
Originally Posted by sirinsidiator View Post
Did you check the code for the champion skill bar? The game shows the slotted skills there, so there has to be a way to get that info.
Got it!!! Thank you =D

If anyone needs to use this in the future you need

Lua Code:
  1. -- SkillIndex = the Index of the slot on your champion bar from 1 - 12
  2. CHAMPION_PERKS.championBar:GetSlot(SkillIndex).championSkillData:GetId()
  Reply With Quote

ESOUI » Developer Discussions » General Authoring Discussion » PTS Get equipped champion skill ID

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off