ToME: the Tales of Maj'Eyal

Everything about ToME
It is currently Wed Dec 19, 2018 9:51 am

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Fri Dec 08, 2017 8:15 pm 
Offline
Thalore

Joined: Mon Mar 25, 2013 9:39 am
Posts: 166
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?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group