Quote:
Originally Posted by DGDobrev
Open both. There is a line:
attack=droideka_attack_uni.bsa/fr:25:50/r:0:20
while corresponds to this one:
attack=beholder_attack.bsa/fr:25:50/r:0:22
|
If I understand this whole thing correctly this line is the movement of the troop (e.g swinging a sword) and not the effect of the attack...
Changes in droideka.atom
replace throw with droideka_ray
attacks=moveattack,repair,
droideka_ray
Remove
throw {
group=1,2
showdmg=1
base_attack=1
distance=5
mindist=2
penalty=0.5
animation=cast/throw/thtarget
throw=droideka_arrow
framekey=x
damage {
physical=6,8
}
}
Insert
droideka_ray {
group=1,2
class=scripted
ad_factor=1
showdmg=1
mindist=1
base_attack=1
script_attack=beholder_ray_attack
script_calccells=calccells_all_enemy_actors_takes_ damage
distance=6
penalty=.5
ad_factor=1
damage {
fire=6,8
}
}
Basically, this is the Ray attack from the Beholder, though I replaced magic damage with fire (seems to make more sense for a laser).
This is untested, so let me know if it works...