ToME: the Tales of Maj'Eyal

Everything about ToME
It is currently Sat Sep 26, 2020 5:27 am

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Mechanical Arms
PostPosted: Mon Jul 10, 2017 10:15 am 
Offline
Uruivellas

Joined: Wed Nov 06, 2013 1:21 pm
Posts: 700
Location: From Russia with atchoum!
Does they work with usual weapon, or only with mindstar?
Asking because Metalstar work without mindstar in hand, maybe even without mindstar in inventory.

Can someone chech it please?
Don't know where to put last category point.

_________________
English isn't my native language.


Top
 Profile  
 
 Post subject: Re: Mechanical Arms
PostPosted: Mon Jul 10, 2017 11:11 am 
Offline
Wyrmic

Joined: Mon Feb 13, 2017 4:43 pm
Posts: 227
Code:
callbackOnActBase = function(self, t)
      local mindstar = self:getInven(self.INVEN_OFFHAND) and self:getInven(self.INVEN_OFFHAND)[1]
      if not mindstar or mindstar.subtype ~= "mindstar" then return end
      if game.zone.wilderness then return end


Only works with mindstars.


Top
 Profile  
 
 Post subject: Re: Mechanical Arms
PostPosted: Mon Jul 10, 2017 12:11 pm 
Offline
Uruivellas

Joined: Wed Nov 06, 2013 1:21 pm
Posts: 700
Location: From Russia with atchoum!
Many thanks!

_________________
English isn't my native language.


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

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