NPC Thieves don't know how to use daggers very well
Posted: Tue Jun 18, 2013 5:53 pm
NPC's based on BASE_NPC_THIEF have no skill with daggers even though they are equipped with them. Fix:
Code: Select all
game/modules/tome/data/general/npcs/thieve.lua | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/game/modules/tome/data/general/npcs/thieve.lua b/game/modules/tome/data/general/npcs/thieve.lua
index b7c3d37..2960cfa 100644
--- a/game/modules/tome/data/general/npcs/thieve.lua
+++ b/game/modules/tome/data/general/npcs/thieve.lua
@@ -28,6 +28,10 @@ newEntity{
body = { INVEN = 10, MAINHAND=1, OFFHAND=1, BODY=1 },
resolvers.drops{chance=20, nb=1, {} },
+ resolvers.talents{
+ [Talents.T_KNIFE_MASTERY]={base=3, every=6, max=6},
+ [Talents.T_WEAPON_COMBAT]={base=3, every=6, max=6},
+ },
resolvers.equip{
{type="weapon", subtype="dagger", autoreq=true},
{type="weapon", subtype="dagger", autoreq=true},