Full Version : Spawning Magic items of a specific type
xmlspawner >>Q&A >>Spawning Magic items of a specific type


<< Prev | Next >>

Mehoo- 06-25-2008
Ok, my knowledge in XML is fairly limited, here is what i am trying to do. (im almost positive i did it before)

Ok i want to spawn say a Longsword, but I want it to have the random 1,5 magical attributes. So I want it to work the same way it would as if you did this--ADD/WEAPON,1,5..
so how would i give the random magical properties to a specific weapon type?
say for example a Longsword

ADD/Longsword,1,5...<---I know this isnt correct but you get the idea.

I could just do ADD/<longsword/damagelevel/..../accuracylevel/.....etc but would like it to randomly chose those damage and accuracy levels.

what is the correct command?

Thanks in advance

Datguy- 06-27-2008
Could do
ADD/<LongSword/Speed/RND,30,70/MinDamage/RND,5,15/MaxDamage/RND,15,25/Attributes.Spellchanneling/RND,0,1/Attributes.BonusStr/RND,-5,5