Mechanical Arms

Have a really dumb question? Ask it here to get help from the experts (or those with too much time on their hands)

Moderator: Moderator

Post Reply
Message
Author
GlassGo
Uruivellas
Posts: 732
Joined: Wed Nov 06, 2013 1:21 pm
Location: From Russia with atchoum!

Mechanical Arms

#1 Post by GlassGo »

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.

Erenion
Archmage
Posts: 319
Joined: Mon Feb 13, 2017 4:43 pm

Re: Mechanical Arms

#2 Post by Erenion »

Code: Select all

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.
Breaking Projection since 1.5

GlassGo
Uruivellas
Posts: 732
Joined: Wed Nov 06, 2013 1:21 pm
Location: From Russia with atchoum!

Re: Mechanical Arms

#3 Post by GlassGo »

Many thanks!
English isn't my native language.

Post Reply