Skip to content

benstepp/d3sim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#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

  1. class (string): The Diablo III class to use. Must be one of: 'Barbarian', 'Crusader, 'Demon Hunter', 'Monk', 'Witch Doctor', or 'Wizard'
  2. seasonal (bool): Whether the not the character is seasonal
  3. hardcore (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

  1. 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

  1. 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'
  2. class (string): The Diablo III class to use. Must be one of: 'Barbarian', 'Crusader, 'Demon Hunter', 'Monk', 'Witch Doctor', or 'Wizard'
  3. 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

  1. 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

  1. rarity (string): The rarity of the item to be created. Must be one of: 'magic', 'rare','legendary', or 'ancient'
  2. 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'
  3. class (string): The Diablo III class to use. Must be one of: 'Barbarian', 'Crusader, 'Demon Hunter', 'Monk', 'Witch Doctor', or 'Wizard'
  4. 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

About

Simulate Diablo III Item Creation and Kadala Gambling

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published