Skip to content
Snippets Groups Projects
Commit 60f9b3fc authored by DarkGod's avatar DarkGod
Browse files

Unarmed 0.6 attack speed is bound to Empty Hands, not to being a Brawler

parent ffbee9e7
No related branches found
No related tags found
No related merge requests found
......@@ -307,7 +307,6 @@ newBirthDescriptor{
[ActorTalents.T_ARMOUR_TRAINING] = 1,
},
copy = {
combat = { physspeed = 0.6, sound = "actions/melee", sound_miss="actions/melee_miss" },
resolvers.equip{ id=true,
{type="armor", subtype="hands", name="iron gauntlets", autoreq=true, ego_chance=-1000, ego_chance=-1000},
{type="armor", subtype="light", name="rough leather armour", autoreq=true, ego_chance=-1000, ego_chance=-1000},
......
......@@ -27,6 +27,16 @@ newTalent{
mode = "passive",
points = 1,
no_unlearn_last = true,
on_learn = function(self, t)
self.before_empty_hands_combat = self.combat
self.combat = table.clone(self.combat, true)
self.combat.physspeed = 0.6
self.combat.sound = "actions/melee"
self.combat.sound_miss="actions/melee_miss"
end,
on_unlearn = function(self, t)
self.combat = self.before_empty_hands_combat
end,
getDamage = function(self, t) return self.level * 0.5 end,
info = function(self, t)
local damage = t.getDamage(self, t)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment