IceThorn wrote:darthjee wrote:For what i've checked, the magic weapon spell will last 1 hour/level if you check the spell description, but the code and the wiki tells that the spell will last 1 turn / level.
i would prefer if ti would last 1 hour / level, but if not, just fixing the description would be good enough
one other thing, could it affect bows too?
i mean, according to the core book, the spell should affect everything but natural weapons.
thanks

You mean
Magic Weapon?
Wiki wrote:Duration: 1 turn/level
Code: Select all
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eLink, GetItemPossessor(oTarget), TurnsToSeconds(iDuration));
Yes, the Avlis version is 1 turn/level. Nothing we can do about the IG BioWare description (at least not quickly and without a lot of pain). The Wiki is official.
I would think
Greater Magic Weapon, but same difference. Oh, and one of the other weapon spells (Keen or Flame) indicates 10 minutes/level IG, but is also set to 1 turn/level on Avlis. So from IG descriptions that's: 1 @ turn/level, 1 @ hour/level and 1 @ 10 min/level; on Avlis: all turn/level. I'm mostly happy that they're all the same duration, whatever it is.
Does this mean the Improved Mage Armor having the exact same IG description as Spiderskin can't be fixed?
I found a
bug report that was kinda related but didn't explicitly catch the duplication. Or am I the only one with this duplication, I only "got" IMA last night, but when leveling up I've always checked IMA and thought: "Gee, is IMA to MA like GMW is to MW?" (+1 for the lower, and +1 per N caster levels for the greater, but this would make IMA better than EMA at high enough levels.) Then I see the text about poisons and the hide skill and realize I'm reading the Spiderskin description.