|Spell level :||Innate level: 8, Sorcerer/Wizard: 8, Other: Cleric with Magic domain 8|
|Descriptor(s) :||Weapon Enchantment|
|Components :||Verbal and Somatic|
|Target/Area :||Creature holding quarterstaff or item (quarterstaff)|
|Duration :||6 sec. * cLevel|
1 Round (cLevel)
|Spell resistance :||Yes|
This spell grants a quarterstaff the following abilities:
- +4 enhancement bonus.
- On striking a creature, Dispel Magic is cast on the target at caster level 16.
Line 60: This spell doesn't use the NWN2 ApplyMetamagicDurationMods() and ApplyMetamagicDurationTypeMods() functions.
Line 67: GetItemPossessor(oMyWeapon) may be invalid, if the item the spell is cast on is an object on the ground. Signalling the event at the caster (to validate "success") would be better, when the item possessor is invalid.
Line 74: GetItemPossessor(oMyWeapon) might be invalid, if cast on an item on the ground. The visual effect shouldn't be attempted to be used if this is the case.
Dispel Magic has a maximum bonus of +10 on the roll, so the caster level of 16 is capped at +10 anyway. See the Dispel Magic description for the workings.
This spell is inferior to Greater Magic Weapon, at level 16 it also grants +4 enchantment but for any weapon and for 1 h per level instead of 6 s per level.