refactoring

This commit is contained in:
Manuel Simon Hirsig
2016-09-12 15:00:12 +02:00
parent 77950d5aa7
commit 2058c0fd81
9 changed files with 31 additions and 31 deletions
+2 -2
View File
@@ -233,8 +233,8 @@ do
end
for _, parser in temp-A(
temp-A('class', info.item_class_index),
temp-A('subclass', L(info.item_subclass_index, index(self.class, 2) or 0)),
temp-A('slot', L(info.item_slot_index, index(self.class, 2) or 0, index(self.subclass, 2) or 0)),
temp-A('subclass', partial(info.item_subclass_index, index(self.class, 2) or 0)),
temp-A('slot', partial(info.item_slot_index, index(self.class, 2) or 0, index(self.subclass, 2) or 0)),
temp-A('quality', info.item_quality_index)
) do
if not self[parser[1]] then