@@ -107,6 +107,66 @@ local itemFunctions = {
107
107
return item :setAttribute (ITEM_ATTRIBUTE_ARMOR , target )
108
108
end ,
109
109
},
110
+ [" text" ] = {
111
+ isActive = true ,
112
+ targetFunction = function (item , target )
113
+ return item :setAttribute (ITEM_ATTRIBUTE_TEXT , target )
114
+ end ,
115
+ },
116
+ [" writer" ] = {
117
+ isActive = true ,
118
+ targetFunction = function (item , target )
119
+ return item :setAttribute (ITEM_ATTRIBUTE_WRITER , target )
120
+ end ,
121
+ },
122
+ [" duration" ] = {
123
+ isActive = true ,
124
+ targetFunction = function (item , target )
125
+ return item :setAttribute (ITEM_ATTRIBUTE_DURATION , target )
126
+ end ,
127
+ },
128
+ [" weight" ] = {
129
+ isActive = true ,
130
+ targetFunction = function (item , target )
131
+ return item :setAttribute (ITEM_ATTRIBUTE_WEIGHT , target )
132
+ end ,
133
+ },
134
+ [" imbuementslot" ] = {
135
+ isActive = true ,
136
+ targetFunction = function (item , target )
137
+ return item :setAttribute (ITEM_ATTRIBUTE_IMBUEMENT_SLOT , target )
138
+ end ,
139
+ },
140
+ [" tier" ] = {
141
+ isActive = true ,
142
+ targetFunction = function (item , target )
143
+ return item :setAttribute (ITEM_ATTRIBUTE_TIER , target )
144
+ end ,
145
+ },
146
+ [" hitchance" ] = {
147
+ isActive = true ,
148
+ targetFunction = function (item , target )
149
+ return item :setAttribute (ITEM_ATTRIBUTE_HITCHANCE , target )
150
+ end ,
151
+ },
152
+ [" shootrange" ] = {
153
+ isActive = true ,
154
+ targetFunction = function (item , target )
155
+ return item :setAttribute (ITEM_ATTRIBUTE_SHOOTRANGE , target )
156
+ end ,
157
+ },
158
+ [" special" ] = {
159
+ isActive = true ,
160
+ targetFunction = function (item , target )
161
+ return item :setAttribute (ITEM_ATTRIBUTE_SPECIAL , target )
162
+ end ,
163
+ },
164
+ [" quicklootcontainer" ] = {
165
+ isActive = true ,
166
+ targetFunction = function (item , target )
167
+ return item :setAttribute (ITEM_ATTRIBUTE_QUICKLOOTCONTAINER , target )
168
+ end ,
169
+ },
110
170
}
111
171
112
172
local creatureFunctions = {
0 commit comments