{"id":23414400,"url":"https://github.com/benstepp/d3sim","last_synced_at":"2025-10-10T09:02:40.789Z","repository":{"id":30316614,"uuid":"33868841","full_name":"benstepp/d3sim","owner":"benstepp","description":"Simulate Diablo III Item Creation and Kadala Gambling","archived":false,"fork":false,"pushed_at":"2015-05-10T02:08:33.000Z","size":1370,"stargazers_count":24,"open_issues_count":2,"forks_count":5,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-12T05:44:55.435Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/benstepp.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-04-13T13:03:17.000Z","updated_at":"2025-01-30T10:20:58.000Z","dependencies_parsed_at":"2022-09-06T11:51:34.618Z","dependency_job_id":null,"html_url":"https://github.com/benstepp/d3sim","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benstepp%2Fd3sim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benstepp%2Fd3sim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benstepp%2Fd3sim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benstepp%2Fd3sim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/benstepp","download_url":"https://codeload.github.com/benstepp/d3sim/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248525154,"owners_count":21118616,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-22T19:58:44.740Z","updated_at":"2025-10-10T09:02:40.707Z","avatar_url":"https://github.com/benstepp.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"#d3sim\nA collection of data used to simulate Kadala gambling and random item generation of the game Diablo III by Blizzard Entertainment. Based on the data collected by:\n[데이터를거두는자](https://docs.google.com/spreadsheets/d/1Ne3aqWO_UyE3yQhtbBPm1BcoRK3OsNMwwmDTbYLefzY/edit#gid=1902649360), [bumbalump](http://www.reddit.com/user/bumbalump), [d07RiV](http://www.reddit.com/user/d07RiV), and [p0d3x](http://www.reddit.com/user/p0d3x)\n\n\n##Usage\nrequire/run in browser\n\n\n##Methods\n* [d3sim.setKadala()](#d3simsetkadalaclassseasonalhardcore)\n* [d3sim.kadalaRoll()](#d3simkadalarollslot)\n* [d3sim.craftItem()](#d3simcraftitemslotclassname)\n* [d3sim.getCraftable()](#d3simgetcraftableclass)\n* [d3sim.createItem()](#d3simcreateitemrarityclassname)\n\n---\n\n####d3sim.setKadala(class,seasonal,hardcore)\n\nThis sets the basis of gambling for items off of Kadala.\n\n*Arguments*\n\n1. `class` (string): The Diablo III class to use. Must be one of: 'Barbarian', 'Crusader, 'Demon Hunter', 'Monk', 'Witch Doctor', or 'Wizard'\n2. `seasonal` (bool): Whether the not the character is seasonal\n3. `hardcore` (bool): Whether the not the character is hardcore\n\n*Example*\n\n```javascript\nd3sim.setKadala('Demon Hunter',true,false);\n```\n\n---\n####d3sim.kadalaRoll(slot)\n\nRolls for a random item from Kadala based on slot.\n\n*Arguments*\n\n1. `slot` (string): The Diablo III slot to roll. Must be one of: 'amulet', 'belt', 'boots', 'bracers', 'chest', 'gloves', 'helm', 'mojo', 'onehand', 'pants', 'quiver', 'ring', 'shield', 'shoulders', 'source', or 'twohand'\n\n*Example*\n\n```javascript\nd3sim.kadalaRoll('twohand');\n```\n\n---\n####d3sim.craftItem(slot,class,name)\n\nThis crafts any item and rolls the rarity for a chance at ancient.\n\n*Arguments*\n\n1. `slot` (string): The Diablo III slot to roll. Must be one of: 'amulet', 'belt', 'boots', 'bracers', 'chest', 'gloves', 'helm', 'mojo', 'onehand', 'pants', 'quiver', 'ring', 'shield', 'shoulders', 'source', or 'twohand'\n2. `class` (string): The Diablo III class to use. Must be one of: 'Barbarian', 'Crusader, 'Demon Hunter', 'Monk', 'Witch Doctor', or 'Wizard'\n3. `name` (string): The name of the item to craft\n\n*Example*\n\n```javascript\nd3sim.craftItem('amulet','Demon Hunter','Hellfire Amulet');\n```\n\n---\n####d3sim.getCraftable(class)\n\nThis returns an object which defines what items are craftable by a given class. Only legendary crafting is currently supported.\n\n*Arguments*\n\n1. `class` (string): The Diablo III class to use. Must be one of: 'Barbarian', 'Crusader, 'Demon Hunter', 'Monk', 'Witch Doctor', or 'Wizard'\n\n*Example*\n```javascript\nd3sim.getCraftable('Barbarian');\n```\n\n---\n####d3sim.createItem(rarity,slot,class,name)\n\nCreates a new randomly generated item with given parameters. This is the internal method used to generate items from all sources (crafted/kadala).\n\n*Arguments*\n\n1. `rarity` (string): The rarity of the item to be created. Must be one of: 'magic', 'rare','legendary', or 'ancient'\n2. `slot` (string): The slot of the item to be created. Must be one of: 'amulet', 'belt', 'boots', 'bracers', 'chest', 'gloves', 'helm', 'mojo', 'onehand', 'pants', 'quiver', 'ring', 'shield', 'shoulders', 'source', or 'twohand'\n3. `class` (string): The Diablo III class to use. Must be one of: 'Barbarian', 'Crusader, 'Demon Hunter', 'Monk', 'Witch Doctor', or 'Wizard'\n4. `name` (string,optional): The name of a specific legendary item to be rolled\n\n*Example*\n\n```javascript\nd3sim.createItem('ancient','twohand','Monk','Flying Dragon');\n```\n\n---\n##Data still needed:\n\n###Suffixes/Prefixes\nHaving more suffixes and prefixes will allow a larger variety of blue items to roll\n```\nPhysical Skills deal {$%} more damage\nArcane Skills deal {$%} more damage\nCold Skills deal {$%} more damage\nFire Skills deal {$%} more damage\nPoison Skills deal {$%} more damage\n{$} - {$} Damage (Jewelry)\n{+$%} Damage (Weapon)\n{$%} chance to inflict Bleed for {$%} weapon damage over {5} seconds\n\nReduces damage from elites by {$%}\nReduces duration of control impairing effects by {$%}\nIgnores Durability Loss\n{+$%} Chance to Block\n{$%} Chance to Freeze on Hit\n{$%} Chance to Immobolize on Hit\n\n{+$} Maximum Spirit (Monk Only)\n{+$} Maximum Fury (Barbarian Only)\nGain {$} Life per Fury Spent (Barbarian Only)\nGain {$} Life per Spirit Spent (Monk Only)\nIncreases Wrath Regeneration by {$} per Second (Crusader Only)\n{+$} Maximum Wrath (Crusader Only)\n{+$} Maximum Mana (Witch Doctor Only\nIncreases Mana Regeneration by {$} per Second (Witch Doctor Only)\n\npretty much every non-demon hunter skill based affix\n```\n\n###other\n```\nslave bonds life after kill value unknown\nfaithful memory 2h sword needs thorns value\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenstepp%2Fd3sim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenstepp%2Fd3sim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenstepp%2Fd3sim/lists"}