local K=require("\109\111\115\101\115")local r=require("\115\117\112\112\111\114\116\046\102\097\099\116\111\114\121")local A=require("\105\110\118\111\107\097\116\105\111\110\046\099\111\110\115\116\046\097\098\105\108\105\116\105\101\115")r.define("\100\111\116\097\095\097\098\105\108\105\116\121",function(r)r=r or{}r=K.extend({},A.KEY_VALUES[r.name]or{},r)return CDOTABaseAbility(r)end)
local m = require("moses")
local Factory = require("support.factory")

local ABILITIES = require("invokation.const.abilities")

Factory.define("dota_ability", function(attributes)
  attributes = attributes or {}
  attributes = m.extend({}, ABILITIES.KEY_VALUES[attributes.name] or {}, attributes)

  return CDOTABaseAbility(attributes)
end)
