View Full Version : Q: multiple attacks per round and feats

09-05-2005, 11:44 AM
I was trying to give the droids an extra attack(or two) per round, so I created a speed upgrade( basically it is a stimpack, but only for droids). So far I modified the item, gave it the CastSpell property, added a new entry to spells.2da and created the impact script.
Well, the item does work, but the droid only has an extra attack when he uses the normal attack, it does not work when I use a feat like power shot or something similar. The script I used is based on the knight_speed script in k_inc_force.nss. here is the script:

#include "k_inc_force"

void main()

object oTarget = GetSpellTargetObject();

effect eBuff;

effect eInvalid;

eBuff = EffectMovementSpeedIncrease(99);

eBuff = EffectLinkEffects(eBuff, EffectModifyAttacks(1));

eBuff = SetEffectIcon(eBuff, 22);

Sp_ApplyEffects(FALSE, OBJECT_SELF, 0.0, 1, eBuff, 120.0, eInvalid, 0.0);


Any idea why this doesn't work with feats and how it could be corrected??

10-19-2005, 07:26 PM
Found this thread while searching for info on blaster attack rate and I think I know the answer to your problem.

This thread explains most of it: Blaster Balance Pack (http://www.lucasforums.com/showthread.php?t=134243)

Basically the file weapondischarges.2da seems to list rows that handle "discharges" for different attacks. You have rows for regular blaster attack and powershot blaster pistol attack etc. The rows for droids have 3_### format. The problem seems to be the shots field limits attacks with power shot to one attack per round.

I can't seem to find anymore info on what all the rows are though. I'm sure somewhere they are refrenced in scripting or in a 2da but I've got no clue which one.