LordWolfBurn Posted March 4, 2014 Share Posted March 4, 2014 What the title said. I'm wondering if anyone is able to create a script similar to how Mod Spell Magnitude in Entry Point for perks works, except it changes Charge time.I assume it shouldn't be too hard to fetch that value, and I'd make the script myself, but I have no experience whatsoever with Papyrus nor scripts for Skyrim. Thanks in advance! Link to comment Share on other sites More sharing options...
Xander9009 Posted March 5, 2014 Share Posted March 5, 2014 The SKSE functions GetCastTime() and SetCastTIme() are what you're looking for. But I know of no way those could effectively be used as a perk. They're intended for use on a spell, and as such, they would affect all users of that spell. Also, you'd have to target all spells individually, which could be accomplished by cycling through the player's spell list. ... On second thought, you might have it activate when the player equips something. When a spell is unequipped, reset the spell's cast time. When it's equipped, set it to the modified time. The only overlap with other users of the spells would be those using the spell while the player has the same spell equipped. So, you need a start game enabled script with a player alias. You need the event OnObjectEquipped and OnObjectUnequipped. You need the functions GetCastTIme() and SetCastTIme(). And you need a variable to store the previous spell's cast time, and what that spell way. You'll need two, actually, one for each hand. Let me know if that's enough to make the script, or if you need more. Link to comment Share on other sites More sharing options...
LordWolfBurn Posted March 5, 2014 Author Share Posted March 5, 2014 Ah, I didn't have SKSE up until now. Cheers mate! I just use AddPerkOnEquip script that comes with Dragonborn DLC, and it works perfectly when put on items. Link to comment Share on other sites More sharing options...
Recommended Posts