Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for ACTIVE_TALENT_GROUP_CHANGED #296

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Laneron
Copy link

@Laneron Laneron commented Dec 25, 2024

Added support for ACTIVE_TALENT_GROUP_CHANGED event in Seasons of Discovery
Added timer to ACTIVE_TALENT_GROUP_CHANGED because direct utilization didn't work as needed
(did not result in equip swap)
Changed implementation of OnEvent function - now
it can handle not only 1:1 events to handlers, but 1:many

Example of event script from ItemRack:
`local arg1 = ...;

local primarySet = "Primary set "
local secondarySet = "Secondary set "

if arg1 == 1 then
EquipSet(primarySet)
ItemRack.Print("Set "" .. primarySet .. "" equipped")
elseif arg1 == 2 then
EquipSet(secondarySet)
ItemRack.Print("Set "" .. secondarySet .. "" equipped")
end
`

event in Seasons of Discovery
Added timer to ACTIVE_TALENT_GROUP_CHANGED because
direct utilization didn't work as needed
(did not result in equip swap)
Changed implementation of OnEvent function - now
it can handle not only 1:1 events to handlers, but
1:many
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant