ToME: the Tales of Maj'Eyal
http://forums.te4.org/

talent that allows 2h weapons when not wearing armour/boots
http://forums.te4.org/viewtopic.php?f=40&t=48451
Page 1 of 1

Author:  Jurriaan [ Fri Dec 08, 2017 8:15 pm ]
Post subject:  talent that allows 2h weapons when not wearing armour/boots

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:
 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?

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/