ShadowDragyn Posted January 25, 2010 Share Posted January 25, 2010 I'm working on an Arcane Warrior overhaul mod, and since you cannot see the attack value for mages, I would like to change Combat Magic to make the character use Spellpower+50 to determine chance to hit instead of Attack.Does anyone know if this is possible, and how I would go about doing it? If it's not possible to make the hit chance actually mechanically function that way, I would think it should at least be possible to always make the character's invisible Attack value equal to Spellpower+50, but I don't know if that would get screwed up by +Attack from spells and items and such; I've never scripted for this game before, only Oblivion. Link to comment Share on other sites More sharing options...
angryman24 Posted January 25, 2010 Share Posted January 25, 2010 A mod like that wouldn't actually be that hard to do. The script that governs combat magic is spell_modal. in the combat magic section, you could modify the line eEffects[1] = EffectModifyProperty(PROPERTY_ATTRIBUTE_ATTACK, AURA_OF_MAGIC_COMBAT_MAGIC_ATTACK_BONUS,(leave the rest of the line following the comma alone) to be eEffects[1] = EffectModifyProperty(PROPERTY_ATTRIBUTE_ATTACK, GetCreatureSpellPower(stEvent.oCaster) +50.0f, (leave the rest of the line following the comma alone) Link to comment Share on other sites More sharing options...
ShadowDragyn Posted January 25, 2010 Author Share Posted January 25, 2010 That's great, thank you.Once I finish laying out what all of the abilities will be I'll try that out :D Link to comment Share on other sites More sharing options...
Recommended Posts