Not a default assignment, in running games, through learned skills I want to assign/remove them to/from a shortcut slot in real time.
1.Is there a function to register/delete the current abilities of the combatant in the short cut slot through scripting?
2.Assuming the ability level registered in the short cut slot is 1, the player has learned a new level (2). In this case, the ability in the short cut slot is automatically updated?? Or is there a function that can be updated?
3.3. I wrote the following code to get the ability reuse time. AbilityShortcut abs = (currentShortcut as AbilityShortcut); float abilityCooldownTime = abs.GetReuseTime(playerCombatant);
However, I also want to get the duration of the status effect caused by the abilities. (To indicate in ui how long it lasts) ORK.StatusEffects.Get(1) The above code can only get the values set in the editor. Is there a function that can be obtained through the combatant class in a running game? (Because the Ability Level 1 status effect duration and Level 2 duration are different.) thanks!