When crafting item with ArmsLore in skillmake, the craft wont even start, since it will "use" the armslore skill on crafting tools.
Scenario
Crafting item via tinker tools, item bellow:
[ITEMDEF i_test_item]
ID=0e2d
NAME=Item
TYPE=t_weapon_mace_sharp
WEIGHT=3.0
RESOURCES=1 i_ingot_iron
SKILLMAKE=ArmsLore 90.0, Tinkering 75.0, t_tinker_tools
Added in skillmenu:
[SKILLMENU sm_tinker]
Tinkering
ON=0e2d Item
MAKEITEM=i_test_item
Use tinker tools, select that item from the skillmenu and it will fail here:
|
SysMessageDefault( DEFMSG_ARMSLORE_UNABLE ); |
The pItem is the tinker tools, rather than the item selected from menu. However, in this case, it shouldn't probably use the ArmsLore skill, but just check if the value is high enough. It will probably happen with other skills too.
When crafting item with ArmsLore in skillmake, the craft wont even start, since it will "use" the armslore skill on crafting tools.
Scenario
Crafting item via tinker tools, item bellow:
Added in skillmenu:
Use tinker tools, select that item from the skillmenu and it will fail here:
Source-X/src/game/clients/CClientTarg.cpp
Line 1014 in 06de4e2
The
pItemis the tinker tools, rather than the item selected from menu. However, in this case, it shouldn't probably use the ArmsLore skill, but just check if the value is high enough. It will probably happen with other skills too.