Duckfeet Posted February 14, 2010 Share Posted February 14, 2010 I'm trying to write a quick-buff script for my player characters, to get them to cast all their buffs instantaneously to reduce the wait time during prep. I've tried using ReallyForceSpell to fast-cast all buffs at once, but it doesn't use up the memorised spells. Is there an action that will remove a currently memorised spell from memory? I know there is an effect but I don't know how to call it directly from a script. Link to comment
Duckfeet Posted February 14, 2010 Author Share Posted February 14, 2010 ApplySpell... Nope, spells stay memorised after applyspell. Link to comment
zefklop Posted February 15, 2010 Share Posted February 15, 2010 Create a spell with the said effect and use ReallyForceSpell? Though you'd have to create quite a lot of those spells. Link to comment
Duckfeet Posted February 15, 2010 Author Share Posted February 15, 2010 Create a spell with the said effect and use ReallyForceSpell? Though you'd have to create quite a lot of those spells. I made a mistake, there's no such effect. Link to comment
devSin Posted February 15, 2010 Share Posted February 15, 2010 For player characters, you can't really do this. Link to comment
Icendoan Posted February 15, 2010 Share Posted February 15, 2010 You could emulate the SCS way of doing it, which is by either ApplySpell()ing or ReallyForceSpell()ing a spell which removes all aftercast delay and casting time, and then just Spell()s all the buffs. Icen Link to comment
Duckfeet Posted February 16, 2010 Author Share Posted February 16, 2010 then just Spell()s all the buffs. This doesn't unmemorize the spells. It just puts them into the action queue where they just cast normally one by one, one round at a time. If you interrupt it (by moving), then the action queue clears and the spells stay memorised. Link to comment
Duckfeet Posted February 16, 2010 Author Share Posted February 16, 2010 I just thought of a horrible hack to do this. Create a spell effect with duration 1 round, which reduces casting times to 0 and applies the Improved Alacrity effect. Then cast all the spells one after the other using Spell(). Link to comment
devSin Posted February 16, 2010 Share Posted February 16, 2010 That's exactly what Icen just suggested... ;-) It is pretty horrible, though, but you likely won't find better. Link to comment
Duckfeet Posted February 16, 2010 Author Share Posted February 16, 2010 LOL thanks Icy, I finally understand. Anybody know which SPL is used to do this thing by SCS, so I can borrow it? I'm not going to redistribute my code, it's just for me. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.