talent that allows 2h weapons when not wearing armour/boots

If you have a module that you'd like comments on or would like to know how to create your very own module, post here

Moderator: Moderator

Post Reply
Message
Author
Jurriaan
Wyrmic
Posts: 227
Joined: Mon Mar 25, 2013 9:39 am

talent that allows 2h weapons when not wearing armour/boots

#1 Post by Jurriaan »

So I want to code a talent that allows you to wear ogre-like weapons: 2h weapons in the main hand.

But, only when the player is not wearing body armour or boots.

something like

Code: Select all

 if self:getInven(self.INVEN_FEET) then
works, but only for learning/un the talent. So I probably have to overload some core function. But what? _M:slotForbidCheck?

Post Reply