NPC Thieves don't know how to use daggers very well

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
Hachem_Muche
Uruivellas
Posts: 744
Joined: Thu Nov 18, 2010 6:42 pm

NPC Thieves don't know how to use daggers very well

#1 Post by Hachem_Muche »

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},
Author of the Infinite 500 and PlenumTooltip addons, and the joys of Scaling in ToME.

darkgod
Master of Eyal
Posts: 10751
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: NPC Thieves don't know how to use daggers very well

#2 Post by darkgod »

fixed
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

Post Reply