equpiment item stat attributes question

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
Cindy
Posts: 237
Joined: Fri Sep 28, 2012 4:23 pm

equpiment item stat attributes question

#1 Post by Cindy »

Working on a new function to throw out trash.

I am currently at the part where I want to check the color of the stats on a piece of gear (i don't want to throw away yellow 1's)

I can get item = inventory.BagSlot

and be able to print

item.Stats[x].Name

but can't find any of the other attribues for a Stat, for example Quality doesn't work. Can anyone tell me how to determine whether the stat is yellow ?

Thanks
User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: equpiment item stat attributes question

#2 Post by lisa »

currently only ID and Name of the stats available.

Code: Select all

self.Stats[i] = {Id = tmpid, Name = tmpname}
So you "could" make up a table of all stats you want to keep, can't remember but there is only like 10-15 yellow I stats, then just compare the name or ID to that of the stat on the item.
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Cindy
Posts: 237
Joined: Fri Sep 28, 2012 4:23 pm

Re: equpiment item stat attributes question

#3 Post by Cindy »

I actually realized that yellow 1's come off blue gear, and as of now, i only chuck whites/greens so got by that easy :)

Next up though, I want to look at blue gear, and its level and throw away things I can't use for T4s... is there a item.Level attribute?
Jandrana
Posts: 187
Joined: Thu Jul 05, 2012 5:53 am

Re: equpiment item stat attributes question

#4 Post by Jandrana »

Cindy wrote:is there a item.Level attribute?
Yes, it's called

Code: Select all

item.RequiredLvl
Post Reply