Jump to content
Sign in to follow this  
Fomin

[forge.lua] Как увеличить лимит итемов на улучшение вещей?

Recommended Posts

Как увеличить лимит итемов на улучшение вещей?
Столкнулся с проблемой, нужно улучшить 95-ый доспех (6096 итем). Но похоже из за лимита - не улучшается.

Выдаёт ошибку "Используйте нужный камень и снаряжение!".

 

function can_tichun_item_main ( Table )

	if ItemID_main>=6096 and ItemID_main<=6127 then
		if ItemID_other==8469 then
			flg=1
		end
	end

 


function tichun_item ( Table )

	if ItemID_main==6096 then--Меч Небес
		r1,r2 =MakeItem ( role,35, 1, 4 )
	end
	if ItemID_main==6097 then--Святой Щит Кавалериста
		r1,r2 =MakeItem ( role, 36, 1, 4 )
	end
	if ItemID_main==6098 then--Карающий Лук
		r1,r2 =MakeItem ( role, 47, 1, 4 )
	end
	if ItemID_main==6099 then--Оружие Правосудия
		r1,r2 =MakeItem ( role, 48, 1, 4 )
	end
	if ItemID_main==6100 then--Бесшумное Лезвие
		r1,r2 =MakeItem ( role, 56, 1, 4 )
	end
	if ItemID_main==6101 then--Нержавеющий Меч
		r1,r2 =MakeItem ( role, 57, 1, 4 )
	end
	if ItemID_main==6102 then--Посох Жертвы
		r1,r2 =MakeItem ( role, 59, 1, 4 )
	end
	if ItemID_main==6103 then--Посох Жизни
		r1,r2 =MakeItem ( role, 60, 1, 4 )
	end
	if ItemID_main==6104 then--Искупление Эпической Доблести
		r1,r2 =MakeItem ( role, 68, 1, 4 )
	end
	if ItemID_main==6105 then--Страж Эпической Доблести
		r1,r2 =MakeItem ( role, 69, 1, 4 )
	end
	if ItemID_main==6106 then--Благославление Эпической Доблести
		r1,r2 =MakeItem ( role, 70, 1, 4 )
	end
	if ItemID_main==6107 then--Покровительство Эпической Доблести
		r1,r2 =MakeItem ( role, 71, 1, 4 )
	end
	if ItemID_main==6108 then--Искупление Чести
		r1,r2 =MakeItem ( role, 72, 1, 4 )
	end
	if ItemID_main==6109 then--Страж Чести
		r1,r2 =MakeItem ( role, 85, 1, 4 )
	end
	if ItemID_main==6110 then--Благославление Чести
		r1,r2 =MakeItem ( role, 86, 1, 4 )
	end
	if ItemID_main==6111 then--Милосердие Чести
		r1,r2 =MakeItem ( role, 87, 1, 4 )
	end
	if ItemID_main==6112 then--Искупление Жертвы
		r1,r2 =MakeItem ( role, 90, 1, 4 )
	end
	if ItemID_main==6113 then--Страж Жертвы
		r1,r2 =MakeItem ( role, 91, 1, 4 )
	end
	if ItemID_main==6114 then--Благославление Жертвы
		r1,r2 =MakeItem ( role, 92, 1, 4 )
	end
	if ItemID_main==6115 then--Милосердие Жертвы
		r1,r2 =MakeItem ( role, 93, 1, 4 )
	end
	if ItemID_main==6116 then--Искупление Правосудия
		r1,r2 =MakeItem ( role, 94, 1, 4 )
	end
	if ItemID_main==6117 then--Страж Правосудия
		r1,r2 =MakeItem ( role, 95, 1, 4 )
	end
	if ItemID_main==6118 then--Благославление Правосудия
		r1,r2 =MakeItem ( role, 96, 1, 4 )
	end
	if ItemID_main==6119 then--Милосердие Правосудия
		r1,r2 =MakeItem ( role, 143, 1, 4 )
	end
	if ItemID_main==6120 then--Искупление Сочувствия
		r1,r2 =MakeItem ( role, 144, 1, 4 )
	end
	if ItemID_main==6121 then--Страж Сочувствия
		r1,r2 =MakeItem ( role, 145, 1, 4 )
	end
	if ItemID_main==6122 then--Благославление Сочувствия
		r1,r2 =MakeItem ( role, 146, 1, 4 )
	end
	if ItemID_main==6123 then--Милосердие Сочувствия
		r1,r2 =MakeItem ( role, 147, 1, 4 )
	end
	if ItemID_main==6124 then--Искупление Вдохновения
		r1,r2 =MakeItem ( role, 148, 1, 4 )
	end
	if ItemID_main==6125 then--Страж Вдохновения
		r1,r2 =MakeItem ( role, 162, 1, 4 )
	end
	if ItemID_main==6126 then--Благословление Вдохновения
		r1,r2 =MakeItem ( role, 171, 1, 4 )
	end
	if ItemID_main==6127 then--Милосердие Вдохновения
		r1,r2 =MakeItem ( role, 242, 1, 4 )
	end

 

Screenshot_9.png

Screenshot_10.png

Share this post


Link to post
Share on other sites
5 часов назад, Fomin сказал:

Решил проблему. 

А что было не так?


Делай добро и бросай его в воду

Share this post


Link to post
Share on other sites

Чуть выше лимит прописан (в двух функциях). По сути, виновата моя внимательность.

image.jpeg

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...