I'm hoping I can get some help on this ability I am creating for a turn based warfare game I am putting together. In the game I will have a mission phase where a group of units can go attack 1 of 4 choices. The defending player will be able to choose a group to block the group, and then there would be a battle sequence. Now this is where I need an ability that will be able to represent an attack value and apply the damage when this sequence is over. So each unit will need this generic ability that it can use once, that will represent its damage and then apply it when it is a battle sequence. Anyone have any ideas how to create it, so it does something like this?
(ability targeting unit>>>>effect showing unit will be damaged>>>>>damage from effect at trigger)
P.S. I'm wanting this damage to apply after a button from a dialog is pushed for the end of this phase if that helps you explain to me how to link this
You can make the ability place stacks of a buff on the target (to which you can link visual effects) and then make the trigger remove all stacks from all units, dealing x amount of damage for every stack removed. This can even be done entirely in data actually, using a persistent effect and a map-wide search.
The main drawback is that your damage range goes from 1 to 65535 in multiples of x, as those are the limits of buff stacks. Giving kill credit might also be a problem if more than 2 players are involved.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hello mapsters,
I'm hoping I can get some help on this ability I am creating for a turn based warfare game I am putting together. In the game I will have a mission phase where a group of units can go attack 1 of 4 choices. The defending player will be able to choose a group to block the group, and then there would be a battle sequence. Now this is where I need an ability that will be able to represent an attack value and apply the damage when this sequence is over. So each unit will need this generic ability that it can use once, that will represent its damage and then apply it when it is a battle sequence. Anyone have any ideas how to create it, so it does something like this? (ability targeting unit>>>>effect showing unit will be damaged>>>>>damage from effect at trigger)
P.S. I'm wanting this damage to apply after a button from a dialog is pushed for the end of this phase if that helps you explain to me how to link this
You can make the ability place stacks of a buff on the target (to which you can link visual effects) and then make the trigger remove all stacks from all units, dealing x amount of damage for every stack removed. This can even be done entirely in data actually, using a persistent effect and a map-wide search.
The main drawback is that your damage range goes from 1 to 65535 in multiples of x, as those are the limits of buff stacks. Giving kill credit might also be a problem if more than 2 players are involved.