Add max plus

12/15/2014 01:48 fantans#1
Hey how edit max plus +12? i add in param of powder but can upgrade+13, help??????? +12 0%
12/15/2014 04:08 [NoReason]#2
Code:
   
 if(@Operation = 90)
   begin
	declare @plus int
	select @plus = OptLevel from SRO_VT_SHARD.._Items Where Serial64 = @ItemSerial
	if(@plus >= 12)
	begin
	update SRO_VT_SHARD.._Items Set OptLevel = '12' Where Serial64 = @ItemSerial
	end
  end
add this code to _AddLogItem Procedure in LOG DB

made it especially for you tested and working