I’m trying to get (and subsequently change) a field out of an enhancer device with tLISP. Borrowing a little snipped out of the Makayev weapon enhancer for reference:
Code: Select all
<MiscellaneousDevice
powerUse= "150"
>
<EnhancementAbilities>
<Enhance type= "makayevEnhancer"
criteria= "w~l +Makayev; +damageType:blast;"
enhancement= "+hpBonus:75;"
/>
</EnhancementAbilities>
</MiscellaneousDevice>
I’m needing to get either the “type” field or the “enhancement” field out of a device. I do need it out of item, not out of the type, so I’m guessing itmGetData (and not typGetData) is what I would need. A little help?
Mod prefixes: 0xA010 (registered) and 0xDCC8 (miscellaneous)
My mods on Xelerus:
Click here!
Of all the things I’ve lost in life, I miss my mind the least. (I’m having a lot more fun without it!)