#d3sim A 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: 데이터를거두는자, bumbalump, d07RiV, and p0d3x
##Usage require/run in browser
##Methods
####d3sim.setKadala(class,seasonal,hardcore)
This sets the basis of gambling for items off of Kadala.
Arguments
class
(string): The Diablo III class to use. Must be one of: 'Barbarian', 'Crusader, 'Demon Hunter', 'Monk', 'Witch Doctor', or 'Wizard'seasonal
(bool): Whether the not the character is seasonalhardcore
(bool): Whether the not the character is hardcore
Example
d3sim.setKadala('Demon Hunter',true,false);
####d3sim.kadalaRoll(slot)
Rolls for a random item from Kadala based on slot.
Arguments
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'
Example
d3sim.kadalaRoll('twohand');
####d3sim.craftItem(slot,class,name)
This crafts any item and rolls the rarity for a chance at ancient.
Arguments
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'class
(string): The Diablo III class to use. Must be one of: 'Barbarian', 'Crusader, 'Demon Hunter', 'Monk', 'Witch Doctor', or 'Wizard'name
(string): The name of the item to craft
Example
d3sim.craftItem('amulet','Demon Hunter','Hellfire Amulet');
####d3sim.getCraftable(class)
This returns an object which defines what items are craftable by a given class. Only legendary crafting is currently supported.
Arguments
class
(string): The Diablo III class to use. Must be one of: 'Barbarian', 'Crusader, 'Demon Hunter', 'Monk', 'Witch Doctor', or 'Wizard'
Example
d3sim.getCraftable('Barbarian');
####d3sim.createItem(rarity,slot,class,name)
Creates a new randomly generated item with given parameters. This is the internal method used to generate items from all sources (crafted/kadala).
Arguments
rarity
(string): The rarity of the item to be created. Must be one of: 'magic', 'rare','legendary', or 'ancient'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'class
(string): The Diablo III class to use. Must be one of: 'Barbarian', 'Crusader, 'Demon Hunter', 'Monk', 'Witch Doctor', or 'Wizard'name
(string,optional): The name of a specific legendary item to be rolled
Example
d3sim.createItem('ancient','twohand','Monk','Flying Dragon');
##Data still needed:
###Suffixes/Prefixes Having more suffixes and prefixes will allow a larger variety of blue items to roll
Physical Skills deal {$%} more damage
Arcane Skills deal {$%} more damage
Cold Skills deal {$%} more damage
Fire Skills deal {$%} more damage
Poison Skills deal {$%} more damage
{$} - {$} Damage (Jewelry)
{+$%} Damage (Weapon)
{$%} chance to inflict Bleed for {$%} weapon damage over {5} seconds
Reduces damage from elites by {$%}
Reduces duration of control impairing effects by {$%}
Ignores Durability Loss
{+$%} Chance to Block
{$%} Chance to Freeze on Hit
{$%} Chance to Immobolize on Hit
{+$} Maximum Spirit (Monk Only)
{+$} Maximum Fury (Barbarian Only)
Gain {$} Life per Fury Spent (Barbarian Only)
Gain {$} Life per Spirit Spent (Monk Only)
Increases Wrath Regeneration by {$} per Second (Crusader Only)
{+$} Maximum Wrath (Crusader Only)
{+$} Maximum Mana (Witch Doctor Only
Increases Mana Regeneration by {$} per Second (Witch Doctor Only)
pretty much every non-demon hunter skill based affix
###other
slave bonds life after kill value unknown
faithful memory 2h sword needs thorns value