Dota 2 Wiki
Advertisement
Dota 2 Wiki
20,122
pages

Documentation for this module may be created at Module:Attribute bonuses/data/doc

return {
-- server
  ['tick rate'] = 1/30, -- how often Dota sends data between server and client
  ['day duration'] = 600, -- half of it is day, half is night
  ['tree respawn time'] = 180,
  ['tree respawn radius'] = 150, -- a tree won't respawn when there is a unit within this range of it
  ['tree collision size'] = 128, -- a tree's collision size
  ['turbo mode factor'] = 2, -- gold and xp multiplier in Turbo Mode
  ['multikill time window'] = 18, -- time window between kills for a multi-kill streak

-- attribute bonuses
  ['bonus damage'] = 1, --  primary attribute
  ['bonus health'] = 20, -- str
  ['bonus health regeneration flat'] = 0.1, --str
  ['bonus armor'] = 1/6, --agi
  ['bonus attack speed'] = 1, --agi
  ['bonus mana'] = 12, --int
  ['bonus mana regeneration flat'] = 0.05, --int

-- hero base values
  ['health'] = 200,
  ['health regen'] = 0.25,
  ['mana'] = 75,
  ['mana regen'] = 0,
  ['magic resistance'] = 0.25,
  ['armor'] = -1,
  ['attack speed'] = 100,
  ['attack point'] = 0.75,
  ['attack damage min'] = 1,
  ['attack damage max'] = 1,
  ['acquisition range'] = 800,
  ['base attack time'] = 1.7,
  ['attack range'] = 600,
  ['projectile speed'] = 900,
  ['movement speed'] = 300,
  ['turn rate'] = 0.6,
  ['sight range day'] = 1800,
  ['sight range night'] = 800,
  ['legs'] = 2,
  ['max level'] = 30,

-- experience
  ['xp radius'] = 1500,
  ['xp hero base'] = 100, -- base xp bounty of a hero
  ['xp hero factor'] = 0.13, -- factor for additional xp bounty of a hero, based on their xp
  ['creep deny factor'] = 0.5, -- lane creeps grant this much less experience when denied
  ['summon deny factor'] = 0.0, -- summons grant this much less experience when denied
  ['hero deny factor'] = 0.0, -- heroes grant this much less experience when denied
  ['creep deny health'] = 0.5, -- creeps may be denied when their health percentage is below this value
  ['hero deny health'] = 0.25, -- heroes may be denied when their health percentage is below this value
  ['tower deny health'] = 0.1, -- buildings may be denied when their health percentage is below this value

-- gold
  ['starting gold'] = 600, -- st arting gold when picking a hero
  ['starting gold randomed'] = 800, -- starting gold when randoming a hero
  ['first blood gold'] = 135,
  ['kill base gold'] = 120, -- base gold bounty of a hero
  ['kill lvl multiplier'] = 8, -- multiplier for additional gold bounty of a hero, based on their level
  ['kill time window'] = 20, -- time window for who gets kill credits. If the target dies later, it gets distributed evenly instead. Also used for assist creditting
  ['kill streak min'] = 3, -- amount of kills required for it to start counting as a streak
  ['kill streak max'] = 10, -- amount of kills required to reach the max streak bounty
  ['kill streak value'] = 35, -- this multiplied by the current streak is the current streak's worth
  ['kill streak subtract'] = 5, -- subtracted from the streak worth
  ['assist base gold'] = 30, -- base gold granted to players that counted as kill assists
  ['assist networth factor'] = 0.038, -- multiplier for additional assist gold, based on the victim's net worth
  ['assist radius'] = 1500, -- every ally within this range gains assist gold
  ['death gold loss divisor'] = 40, -- amount of gold lost on death, net worth divided by this value
  ['base gpm'] = 100, -- passive gold income per minute
  ['draft gold loss'] = 2, -- amount of gold loss per second during the drafting phase when not picking a hero within the time limit
  ['tower deny factor'] = 0.5, -- amount of gold denied from denying towers

-- items
  ['item sellback time window'] = 10, -- bought items can be sold back for full price within this time window
  ['item sellback factor'] = 0.5, -- when sold outside the above time window, selling items grants this much gold back instead
  ['item drop range'] = 100, -- the range for dropping an item on the ground
  ['item pickup range'] = 150, -- the range for picking up an item from the ground is
  ['item transfer range'] = 300, -- the range for transfering an item to another unit

-- movement speed limits
  ['movement speed min'] = 100,
  ['movement speed max'] = 550,

-- attack speed limits
  ['attack speed min'] = 20,
  ['attack speed max'] = 700,

-- range buffers
  ['attack range buffer'] = 250, -- distance the attack target can move before the attack animation gets canceled
  ['cast range buffer'] = 250, -- distance the attack target can move before the cast animation gets canceled
  ['uphill miss chance'] = 0.25, -- ranged attacks mis chance against targets on higher ground

-- armor values
  ['armor base'] = 1, -- armor damage reduction formula base value
  ['armor factor'] = 0.06, -- armor damage reduction formula multiplier

-- attack classes table
  ['hero v hero'] = 1.0,			-- hero damage vs hero armor
  ['hero v basic'] = 1.0,			-- hero damage vs basic armor
  ['hero v structure'] = 0.5,		-- hero damage vs structur armor
  ['basic v hero'] = 0.75,			-- basic damage vs hero armor
  ['basic v basic'] = 1.0,			-- basic damage vs basic armor
  ['basic v structure'] = 0.7,		-- basic damage vs structur armor
  ['pierce v hero'] = 0.5,			-- pierce damage vs hero armor
  ['pierce v basic'] = 1.5,			-- pierce damage vs basic armor
  ['pierce v structure'] = 0.35,	-- pierce damage vs structur armor
  ['siege v hero'] = 1.0,			-- siege damage vs hero armor
  ['siege v basic'] = 1.0,			-- siege damage vs basic armor
  ['siege v structure'] = 2.5,		-- siege damage vs structur armor

-- collision sizes
  ['collision size building'] = 298,
  ['collision size tower'] = 144,
  ['collision size filler'] = 96,
  ['collision size huge'] = 80,
  ['collision size hero'] = 24,
  ['collision size regular'] = 16,
  ['collision size small'] = 8,
  ['collision size smallest'] = 2,

-- spell lifesteal
  ['spell lifesteal creep factor'] = 0.2,

-- neutral creep values
  ['neutral spawn interval'] = 60,
  ['roshan respawn min'] = 300,
  ['roshan respawn max'] = 480,
  -- stacking gold values
  ['neutral stack penalty'] = 0.15, -- stacked neutrals grant this much less gold/xp to their killer
  ['neutral stacker gold'] = 0.30, -- the stacking player gets this amount if an ally kills their stack
  -- aggroing values
  ['neutral approach aggro range'] = 240, -- a neutral creep aggroes when a player gets this close to it
  ['neutral damage aggro range'] = 1800, -- a neutral creep aggroes when a player deals damage while within this range of it
  ['neutral nearby aggro range'] = 500, -- other neutral creeps within this range around the aggroed neutral creep get aggroed as well
 -- if source of damage is invisible, neutrals flee
  ['neutral flee distance'] = 750, -- the max distance neutrals will move when fleeing
  ['neutral flee duration'] = 5, -- the max duration neutrals flee
  -- losing aggro
  ['neutral guard distance'] = 400, -- neutrals do not lose aggro when within this range of their spawn location
  ['neutral aggro duration'] = 5, -- neutrals lose aggro when this many seconds pass
  ['neutral re-aggro duration'] = 3, -- when re-aggroed before the previous aggro resets, they aggro for shorter

-- lane creep values
  ['lanecreep spawn interval'] = 30,
  ['lanecreep upgrade cycle'] = 450,
  ['lanecreep upgrade cycle turbo'] = 150,
  ['lanecreep upgrade turbo multiplier'] = 3,
  ['lanecreep max upgrades'] = 30,
  ['lanecreep upg melee hp'] = 12,
  ['lanecreep upg melee dmg'] = 1,
  ['lanecreep upg melee gold'] = 1,
  ['lanecreep upg range hp'] = 12,
  ['lanecreep upg range dmg'] = 2,
  ['lanecreep upg range gold'] = 6,
  ['lanecreep upg range xp'] = 8,
  ['lanecreep upg sup melee hp'] = 19,
  ['lanecreep upg sup melee dmg'] = 2,
  ['lanecreep upg sup melee gold'] = 1.5,
  ['lanecreep upg sup range hp'] = 18,
  ['lanecreep upg sup range dmg'] = 3,
  ['lanecreep upg sup range gold'] = 6,

-- illusion values
  ['illusion bounty level factor'] = 2,
  ['illusion fixed bounty'] = 5,

-- abilities
  ['ultimate level interval'] = 6,
  ['ability level interval'] = 2,
  ['aura linger duration'] = 0.5,
}
Advertisement