I have a behavior with a damage response which increases the damage done "per auto attack" via a require effect - array and a stackable buff that refreshes itself. Now the problem I'm looking at is that all units of the same type (that use the same required effect array in their auto attacks) proc and refresh/stack up the behavior.
I'm looking to make the behavior's damage response to proc only from the buff's caster's required effect. Is this possible via the data editor?
Set Attack speed multiplier field to 1.x x is a % value that cause the % attack speed bonus. in this case it is 1.01 it means that 101 is the multiplayer so 1 % will added with each stack.
or
Set Attack Speed Factor, to 0.x x is the same then in the previous example. in this case it is 0.01 it means that 1% will added with each stack.
Set stack count to 255 or any amount you like but note this: according to other mod makers if the stack number is above 255 the game could becamo laggy, specially if you use this buff on multiple units. The editor maximum is 65535. I never tried that what number makes the lag, but I suggest you to keep that in mind in a first tests, and if no problem you can try more if you like.
So set stack count to 255. There is a field that called Stack count per caster, in this case you don't need it. This field is good when you creat Buff type abilites, and you can limit the buff per casters. If it is 1 the next buff overwrite the previous. if more it will stack until reach the max. In this case we use it in weapon that put the buff to caster, so the normal stack count nearly works as a stack per caster.
Creat an Apply behavior Effect
Set the behavior field to the behavior created before.
Set unit value to Caster. It is requires because if you dont change it, the target unit will get the bonus, because default unit value is Target.
Creat a Set type effect
Set the effects field to the created set effect before and the effect that seted in the weapon effects field.
In this example I used the marine gaus rifle. so you I put in the set effect the marine gauss rifle damage effect and the apply behavior effect.
Go to the selected weapon, in this case marine gauss rifle set the effect field to the set effect created before.
Hey,
I have a behavior with a damage response which increases the damage done "per auto attack" via a require effect - array and a stackable buff that refreshes itself. Now the problem I'm looking at is that all units of the same type (that use the same required effect array in their auto attacks) proc and refresh/stack up the behavior. I'm looking to make the behavior's damage response to proc only from the buff's caster's required effect. Is this possible via the data editor?
Thanks in advance
Creat a buff type behavior
Set Attack speed multiplier field to 1.x x is a % value that cause the % attack speed bonus. in this case it is 1.01 it means that 101 is the multiplayer so 1 % will added with each stack.
or
Set Attack Speed Factor, to 0.x x is the same then in the previous example. in this case it is 0.01 it means that 1% will added with each stack.
Set stack count to 255 or any amount you like but note this: according to other mod makers if the stack number is above 255 the game could becamo laggy, specially if you use this buff on multiple units. The editor maximum is 65535. I never tried that what number makes the lag, but I suggest you to keep that in mind in a first tests, and if no problem you can try more if you like.
So set stack count to 255. There is a field that called Stack count per caster, in this case you don't need it. This field is good when you creat Buff type abilites, and you can limit the buff per casters. If it is 1 the next buff overwrite the previous. if more it will stack until reach the max. In this case we use it in weapon that put the buff to caster, so the normal stack count nearly works as a stack per caster.
Creat an Apply behavior Effect
Set the behavior field to the behavior created before.
Set unit value to Caster. It is requires because if you dont change it, the target unit will get the bonus, because default unit value is Target.
Creat a Set type effect
Set the effects field to the created set effect before and the effect that seted in the weapon effects field.
In this example I used the marine gaus rifle. so you I put in the set effect the marine gauss rifle damage effect and the apply behavior effect.
Go to the selected weapon, in this case marine gauss rifle set the effect field to the set effect created before.
So final:
if you watch the weapon you can see this
Marine gauss rifle(weapon)
Effect field: Attack Speed Set
Attack Speed Set
effects field: Attack Speed Apply Behavior, Marine Gauss Rifle Damage.
Attack Speed Apply Behavior
behavior field: Attack Speed Behavior.