From 2d32bc23712789be8ba9cad47f80a4e76149d016 Mon Sep 17 00:00:00 2001 From: kaetemi Date: Fri, 22 Nov 2019 14:42:49 +0800 Subject: [PATCH] Disable craft tool restriction, ryzomclassic/#49 --- .../src/entities_game_service/phrase_manager/faber_phrase.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/ryzom/server/src/entities_game_service/phrase_manager/faber_phrase.cpp b/code/ryzom/server/src/entities_game_service/phrase_manager/faber_phrase.cpp index 577544e13..921fcc52a 100644 --- a/code/ryzom/server/src/entities_game_service/phrase_manager/faber_phrase.cpp +++ b/code/ryzom/server/src/entities_game_service/phrase_manager/faber_phrase.cpp @@ -249,13 +249,14 @@ bool CFaberPhrase::validate() return false; } - +#ifdef RYZOM_FORGE_CRAFT_TOOL // check quality of right hand item (need be >= Recommended (level of item)) if (rightHandItem->recommended()+49 < _Recommended) { PHRASE_UTILITIES::sendDynamicSystemMessage(_ActorRowId, "CRAFT_NEED_RECOMMENDED_CRAFTING_TOOL"); return false; } +#endif // entities cant craft if in combat /* commented as test of right hand item is now made...