Hi.
Im trying to create a spell that makes the Hero cast a Slime Ball/ Acid Bomb, onto the target area.
The unit/units (Not big area but still aoe) that are hit by the acid bomb takes a smal amount of damage from the hit and then additional damage if the stay in the acid.
The acid is doing alot of damage if you stay in it. (to make the player move the Hero away from the acid) and dissapear after 10 seconds.
Iv tried to make this spell but my skill with the data edtior is still to low to make this spell.
Some guidance to get me into a good start would be nice and maby some details on how im suposed to create it. (What kinda actors i need and effects and so. )
Create a CEffectDamage (This will be your periodic damage for standing in the area)
Create a CEffectDamage (This will be your initial attack, could just use the one you just made)
Create a CEffectEnumArea (This is your "search". Add Your periodic damage to the AreaArray, set the range)
Create a CEffectCreatePersistent (This is what you will attach your slime model to. Set the PeriodCount to how many tick's you want it to have, Add your Search to the PeriodEffectArray, Then how fast you want it to tick in the PeriodicPeriodArray. eg: Period Count of 20 PeroidicPeriod of 0.5. Would make it last for 10 seconds, and do damage every 0.5 seconds.
Create a CEffectSet (Add your Persistent and your Initial damage effect to the Set_EffectArray, this way you get your initial damage and the persistent created with 1 attack)
Create a CWeaponLegacy and give it the effect of the Set you created.
You could also do the damage with an ability If you wanted to say also add a DoT onto it that effects the target even after they leave. In this case you would also need to create a Behavior and then an ApplyBehavior effect. You would then use the ApplyBehavior in the EnumArea.
I'm still learning how to best use actors, so I'll let you find out how to make everything look pretty from someone else, but functionally this should work for you.
Hi. Im trying to create a spell that makes the Hero cast a Slime Ball/ Acid Bomb, onto the target area. The unit/units (Not big area but still aoe) that are hit by the acid bomb takes a smal amount of damage from the hit and then additional damage if the stay in the acid. The acid is doing alot of damage if you stay in it. (to make the player move the Hero away from the acid) and dissapear after 10 seconds.
Iv tried to make this spell but my skill with the data edtior is still to low to make this spell.
Some guidance to get me into a good start would be nice and maby some details on how im suposed to create it. (What kinda actors i need and effects and so. )
:)
@agfct: Go
You need to:
As well as create any relevant actors. Details can be found in the tutorial section, there are several tutorials about creating custom abilities.
Hmm ok thank you. Atleast now i got a good start. Going to see if i can figure out the use of the Persistent effect in the tutorial section. :)
@agfct: Go
One way to do this would be to
You could also do the damage with an ability If you wanted to say also add a DoT onto it that effects the target even after they leave. In this case you would also need to create a Behavior and then an ApplyBehavior effect. You would then use the ApplyBehavior in the EnumArea.
I'm still learning how to best use actors, so I'll let you find out how to make everything look pretty from someone else, but functionally this should work for you.
Edit: Added in the Set step.