Joined: 30 Jul 2012
|Posted: Thu Aug 02, 2012 1:54 pm
Need help with Identify Spell capture
|First let me say that I am severely programming challenged.
I am trying to capture the identify spell output and regurgitate it to whom ever handed me the eq item.
The response (tell/gtell/say) does not matter as long as the info is sent.
That being said, here is a sample of the output from a piece of armor, a potion and a wand/staff:
Object 'sword flaming threadslayer' type weapon, extra flags anti-evil flame spell_weapon.
Weight 5, value 1512, level 13.
Damage is 4 to 15 (average 9).
Weapon casts the spell 'shocking grasp' on hits.
Affects armor class by -5.
Affects strength by 1.
Affects constitution by -1.
Affects save vs breath by -2.
Affects damage roll by 3.
Object 'potion' type potion, extra flags magic.
Weight 1, value 5850, level 20.
Level 3 spells of: 'dispel magic' 'dispel magic' 'dispel magic'.
Object 'Horn Mistral' type staff, extra flags hum magic bless hover.
Weight 5, value 7840, level 27.
Has 7(7) charges at level 26 'control weather'.
Affects intelligence by 2.
Affects save vs spell by -10.
Affects moves by -50.
Affects mana by 45
Any assistance would be appreciated and remember please explain why this works, I might just learn something and bother you less.
Thanks in advance for your time and effort.