View previous topic :: View next topic |
Author |
Message |
sandronejm
Joined: 02 Jan 2014 Posts: 15
|
Posted: Wed Jan 22, 2014 20:39 Post subject: How reduce speed of spell HASTE about 30%? |
|
|
I would like to reduce speed HASTE spell about 30% is possible using nwnx?
Last edited by sandronejm on Wed Jul 23, 2014 7:12; edited 2 times in total |
|
Back to top |
|
|
Squatting Monk
Joined: 28 Jun 2007 Posts: 76
|
Posted: Thu Jan 23, 2014 7:49 Post subject: |
|
|
You can reduce the movement speed with EffectMovementSpeedDecrease().
Add this right under line 59 of nw_s0_haste:
Code: | // Slow it down a bit
eHaste = EffectLinkEffects(EffectMovementSpeedDecrease(30), eHaste); |
Replace 30 with a smaller value if that slows it down too much.
Note: this will not help with hasted items, only the spell. |
|
Back to top |
|
|
sandronejm
Joined: 02 Jan 2014 Posts: 15
|
Posted: Fri Jan 24, 2014 2:31 Post subject: |
|
|
Squatting Monk wrote: | You can reduce the movement speed with EffectMovementSpeedDecrease().
Add this right under line 59 of nw_s0_haste:
Code: | // Slow it down a bit
eHaste = EffectLinkEffects(EffectMovementSpeedDecrease(30), eHaste); |
Replace 30 with a smaller value if that slows it down too much.
Note: this will not help with hasted items, only the spell. |
and about ITENS?
Last edited by sandronejm on Wed Jul 23, 2014 7:12; edited 2 times in total |
|
Back to top |
|
|
sandronejm
Joined: 02 Jan 2014 Posts: 15
|
Posted: Fri Jan 24, 2014 2:54 Post subject: |
|
|
Squatting Monk wrote: | A non-NWNX way to fix haste speed on items would be to modify your OnPlayer(Un)EquipItem scripts to look for haste properties on any equipped items and apply/remove a movement penalty there. |
What do you mean with HASTE Properties? |
|
Back to top |
|
|
Lokey
Joined: 02 Jan 2005 Posts: 158
|
Posted: Mon Jan 27, 2014 4:54 Post subject: |
|
|
It'll be complicated to address from script + 2da changes, EffectMovementSpeedDescrease() is snuffed by a lot of things, so those need to be addressed also. Besides the fact that haste is the best spellcasting buff there is, it does even more than auto-quicken. If dealing with script, letting a movement rate boost expire lets you handle it script side (i.e. ApplyEffectToObject(DURATION_TYPE_TEMPORARY, EffectMovementSpeedIncrease(1), whatever_object, 0.1);), but like I said, it's going to get involved as there's 7 or 8 movement speed increasing spell abilities.
There was a movement cap put in in one of the patches (+50% base unless monk 3+), and there are lots of other movement rate headaches. So it might be addressable with a plugin. _________________ Neversummer PW NWNx powered mayhem |
|
Back to top |
|
|
junliar
Joined: 27 Feb 2014 Posts: 1
|
|
Back to top |
|
|
|