I think it would be cool and give more monster spell options if, lets say an attack gets activated it will, for example, cast 3 spells in a row.
instead of this, which will get out of sync the longer the fight goes
but instead make it possible to make something like this
instead of this, which will get out of sync the longer the fight goes
Code:
<attack name="energy" interval="1000" chance="7" range="7" min="-0" max="-45">
<attribute key="shootEffect" value="energy"/>
</attack>
<attack name="energy" interval="2000" chance="7" range="7" min="-0" max="-45">
<attribute key="shootEffect" value="energy"/>
</attack>
<attack name="energy" interval="3000" chance="7" range="7" min="-0" max="-45">
<attribute key="shootEffect" value="energy"/>
</attack>
Code:
<attack name="energy" interval="1000, 2000, 3000" chance="7" range="7" min="-0" max="-45">
<attribute key="shootEffect" value="energy"/>
</attack>