Talk:Bladed Glove
Jump to navigation
Jump to search
Regarding the info request
I have collected some information about the code behavior but don't know how to interpret it. Perhaps someone can help?
Info request: Changes were made in 1.4 to the spawning, according to the changelog, but no details were given: what are the changes?
Relevant changelog line: Fixed an oversight in Halloween drop rates based on HP that caused Bladed Gloves and Bloody Machete to be too rare in Expert
Relevant code (NPC.cs):
if (Main.halloween && value > 0f && value < 500f && damage < 40 && defense < 20 && !flag) { if (player.RollLuck(2000) == 0) { Item.NewItem((int)position.X, (int)position.Y, width, height, 1825); } else if (player.RollLuck(2000) == 0) { Item.NewItem((int)position.X, (int)position.Y, width, height, 1827); } }
I don't know what value
means; I assume it is related to the 5 SC seen on the wiki page but then why is it 500 and not 50? Is it possible value
means HP? -- Breathlessblizzard (talk) 04:06, 14 June 2020 (UTC)