Jump to content

How is the total gold of enchanted Items calculated


Jorne

Recommended Posts

Hi

 

I'm trying to write a OBSE script that will give the total gold value of enchanted objects. I tried various things like GetGoldValue (base) & GetMagicEffectBarterValue, but they don't seem to work. Any ideas?

 

Example:

 

		set itemType to GetInventoryObject 0
	set enchantType to GetEnchantment itemType
	set itemVal to GetGoldValue itemType;							<<< base value of object
	set EncGoldVal  to GetMagicEffectBarterFactor enchantType
	set resultVal to (itemVal + encGoldVal);							<<<  (+ or x)

 

...but encGoldVal is always 0.00000

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...