big refactoring

This commit is contained in:
Manuel Simon Hirsig
2016-08-19 11:57:12 +02:00
parent 667990f7d8
commit 7740ba2f7a
28 changed files with 271 additions and 266 deletions
+5 -5
View File
@@ -1,8 +1,8 @@
aux.module 'disenchant'
private.UNCOMMON = 2
private.RARE = 3
private.EPIC = 4
UNCOMMON = 2
RARE = 3
EPIC = 4
do
local data = {
@@ -41,7 +41,7 @@ do
end
function m.LOAD()
private.armor = aux.util.set(
armor = aux.util.set(
'INVTYPE_HEAD',
'INVTYPE_NECK',
'INVTYPE_SHOULDER',
@@ -59,7 +59,7 @@ function m.LOAD()
'INVTYPE_HOLDABLE'
)
private.weapon = aux.util.set(
weapon = aux.util.set(
'INVTYPE_2HWEAPON' ,
'INVTYPE_WEAPONMAINHAND',
'INVTYPE_WEAPON',