
(after the new awesome modifications in 0.99)
I was testing the new variables when i found a problem:
Take this weapon as an example:
Code: Select all
<ItemType UNID="&itcometfalltestweapon;"
name= "Cometfall test weapon"
level= "8"
value= "150000"
mass= "5000"
frequency= "notrandom"
modifiers= "MajorItem; EnergyWeapon; Rasiermesser; NotForSale"
description= "This is an experimental weapon."
>
<Image imageID="&rsItems1;" imageX="96" imageY="0" imageWidth="96" imageHeight="96"/>
<Weapon
type= "particles"
count ="1"
damage= "blast:2d12; momentum2; WMD2"
fireRate= "35"
missileSpeed= "20-50"
lifetime= "120-160"
powerUse= "100"
hitPoints= "10"
directional= "true"
fireEffect= "&efMediumCannonFlash;"
sound= "&snRecoillessCannon;"
particleCount= "1"
particleEmitTime="5-12"
particleSpreadWidth="90"
particleSpreadAngle="0"
>
<Effect>
<MoltenBolt
width= "4"
length= "10"
growth= "3"
primaryColor= "0xea, 0xed, 0xae"
secondaryColor= "0xc0, 0xc2, 0x85"
/>
</Effect>
</Weapon>
</ItemType>
It seems that the culprit is particleEmitTime="5-12"
When I remove it, i get 1 shot only.
Is this a bug ?