{"action":"closed","issue":{"url":"https://api.github.com/repos/ServUO/ServUO/issues/1032","repository_url":"https://api.github.com/repos/ServUO/ServUO","labels_url":"https://api.github.com/repos/ServUO/ServUO/issues/1032/labels{/name}","comments_url":"https://api.github.com/repos/ServUO/ServUO/issues/1032/comments","events_url":"https://api.github.com/repos/ServUO/ServUO/issues/1032/events","html_url":"https://github.com/ServUO/ServUO/issues/1032","id":176526640,"number":1032,"title":"Inherent Lower Mana Cost Problem","user":{"login":"BugBot","id":7030920,"avatar_url":"https://avatars.githubusercontent.com/u/7030920?v=3","gravatar_id":"","url":"https://api.github.com/users/BugBot","html_url":"https://github.com/BugBot","followers_url":"https://api.github.com/users/BugBot/followers","following_url":"https://api.github.com/users/BugBot/following{/other_user}","gists_url":"https://api.github.com/users/BugBot/gists{/gist_id}","starred_url":"https://api.github.com/users/BugBot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BugBot/subscriptions","organizations_url":"https://api.github.com/users/BugBot/orgs","repos_url":"https://api.github.com/users/BugBot/repos","events_url":"https://api.github.com/users/BugBot/events{/privacy}","received_events_url":"https://api.github.com/users/BugBot/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-13T01:36:32Z","updated_at":"2016-10-09T02:53:55Z","closed_at":"2016-10-09T02:53:55Z","body":"[URL]http://www.uoguide.com/Lower_Mana_Cost[/URL]\n\n- No Medable Armor\n- 15 cap\n- No Shield\n\n[code]public static int GetInherentLowerManaCost(Mobile from)\n        {\n            int toReduce = 0;\n\n            foreach (Item item in from.Items)\n            {\n                if (item is BaseArmor)\n                {\n                    if (item is WoodlandArms || item is WoodlandChest || item is WoodlandGloves || item is WoodlandLegs || item is WoodlandGorget || item is BaseShield)\n                        continue;\n\n                    BaseArmor armor = item as BaseArmor;\n                   \n                    if (armor.ArmorAttributes.MageArmor == 1)\n                        continue;\n\n                    if (armor.MaterialType == ArmorMaterialType.Studded || armor.MaterialType == ArmorMaterialType.Bone )\n                        toReduce += 3;\n                    else if (armor.MaterialType >= ArmorMaterialType.Ringmail)\n                        toReduce += 1;\n                }\n            }\n\n            return Math.Min(toReduce, 15);\n        }[/code]\r\n\r\nReported By: argalep\r\nReport Thread: http://servuo.com/threads/inherent-lower-mana-cost-problem.5297/"}}
{"actor":{"display_login":"kevin-10"}}