Skip to content

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