A Question on Gems
#17
I got this on the new Vault forums. I'm not seeing where it ties what you are trying to add to the already existing item, but I'll see what can find in testing.

Quote:You'll need to pass the requested item property type to the function as a second parameter:

int IsModMax(object oTarget, int ipTypeRequested)

then add it to the list of properties that don't count:

if( ipType == ipTypeRequested ||

ipType == ITEM_PROPERTY_VISUALEFFECT ||
ipType == ITEM_PROPERTY_USE_LIMITATION_ALIGNMENT_GROUP ||
ipType == ITEM_PROPERTY_USE_LIMITATION_CLASS ||
ipType == ITEM_PROPERTY_USE_LIMITATION_RACIAL_TYPE ||
ipType == ITEM_PROPERTY_USE_LIMITATION_SPECIFIC_ALIGNMENT)

Of course, the limit of 4 is an arbitrary cap on the Forge. To reflect the Bioware rules, you could read the MaxProps from baseitems.2da, which would give 8 in many cases, but personally I agree that 4 is plenty, for game balance.
Reply


Messages In This Thread
A Question on Gems - by Miscr3ant - 10-22-2014, 07:20 PM
RE: A Question on Gems - by Miscr3ant - 10-23-2014, 12:00 AM
RE: A Question on Gems - by Balanor - 10-23-2014, 09:43 AM
RE: A Question on Gems - by Miscr3ant - 10-23-2014, 02:17 PM
RE: A Question on Gems - by Balanor - 10-23-2014, 08:13 PM
RE: A Question on Gems - by Miscr3ant - 10-23-2014, 09:04 PM
RE: A Question on Gems - by Balanor - 12-18-2014, 12:46 PM
RE: A Question on Gems - by Miscr3ant - 12-18-2014, 01:19 PM
RE: A Question on Gems - by Bertram Anders - 12-18-2014, 01:44 PM
RE: A Question on Gems - by Miscr3ant - 12-18-2014, 06:00 PM
RE: A Question on Gems - by Bishop Edward - 12-18-2014, 07:48 PM
RE: A Question on Gems - by Balanor - 12-18-2014, 08:07 PM
RE: A Question on Gems - by Bishop Edward - 12-19-2014, 01:06 AM
RE: A Question on Gems - by NOITCA - 12-19-2014, 03:54 AM
RE: A Question on Gems - by Miscr3ant - 12-19-2014, 09:20 AM
RE: A Question on Gems - by Balanor - 12-19-2014, 11:06 AM
RE: A Question on Gems - by Miscr3ant - 12-19-2014, 11:28 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)