id,node_id,number,title,user,state,locked,assignee,milestone,comments,created_at,updated_at,closed_at,author_association,active_lock_reason,draft,pull_request,body,reactions,performed_via_github_app,state_reason,repo,type 496885182,MDU6SXNzdWU0OTY4ODUxODI=,2314,ItemSet spells applied to armor do not cast,55265383,closed,0,,,0,2019-09-23T04:08:34Z,2019-09-24T16:53:57Z,2019-09-24T16:53:57Z,NONE,,,,"### Bug Report or Feature Request (mark with an `x`) ``` - [X] bug report -> please search issues before submitting - [ ] feature request ``` ### Repro steps. Add an EquipmentSetID value from 13 to 29 to a loot armor item piece. Debug 'level' at location https://github.com/ACEmulator/ACE/blob/master/Source/ACE.Server/WorldObjects/WorldObject_Set.cs#L157, when equipping armor piece with an EquipmentSetID. One will notice that 'level' is always zero, so spells that should be cast by the item set are never get applied. ### The log given by the failure. No log given by the failure ### Desired functionality. A given spell's level from an Armor EquipmentSetID should be based upon the count of the pieces equipped with a given EquipmentSetID. ### Mention any other details that might be useful. The code at the location linked above works for Aetheria. However, it does not work for armor spell sets. While Aetheria spell set spells base their level on the cumulative ItemLevel of similar Aetheria equipped, armor spell set level are based upon the count of armor pieces equipped that contain the same spell set. Whether correct or not, I found that changing the line of code at 157 to the following, allows the set spells to cast, and their spell level increase and decrease, as pieces with the same EquipmentSetID are added or removed. uint level; if (equipmentSet >= EquipmentSet.Soldiers && equipmentSet <= EquipmentSet.Lightningproof) level = (uint)setItems.Count; else level = (uint)(setItems.Sum(i => i.ItemLevel ?? 0) + levelDiff); ","{""url"": ""https://api.github.com/repos/ACEmulator/ACE/issues/2314/reactions"", ""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,completed,79078680,issue