Hi folks!
I'm hitting a wall with a battle gimmick of one of my characters.
The character in question is based on different skills related to his HP - to call it simple he's some sort of blood-mage/vampire.
Most skills are easy to set up as well as his damage output, nothing to fancy but there is a passive state that given me a headache.
Once his HP reaches a certain percentage - like 50% of his max HP - he should generate a shield (Bloodshield) that absorbs any damage. The shield itself works but I can't get it to show up when his HP drops below 50%.
The shield itself is created via Visustellas Anti-Damage Barriers plugin and is set up as an Absorption Barrier. After it's absorbed the 50 damage I'm using for testing it goes off and everything is fine.
BUT I want that shield to deal damage when it goes off! If the shield breaks it should deal '50/number of living enemies' damage to every enemy on the field, e.g if there are 2 living enemies and the shield breaks each enemy should get 25 HP damage or if 3 enemies living every enemy should get 16 Hp damage.
To sum up the flow:
HP of Blood Mage drops below 50%
-> Bloodshield (Absorption Barrier) came up
Once Absorption Barrier breaks -> deal damage to the remaining enemies equal to 'HP of Barrier/ number of current enemies'
Is it possible and if so how?
I'm fiddling with it for a few days now and I can't even get the shield show up once the HP drops below the 50% treshold x___x
I'm hitting a wall with a battle gimmick of one of my characters.
The character in question is based on different skills related to his HP - to call it simple he's some sort of blood-mage/vampire.
Most skills are easy to set up as well as his damage output, nothing to fancy but there is a passive state that given me a headache.
Once his HP reaches a certain percentage - like 50% of his max HP - he should generate a shield (Bloodshield) that absorbs any damage. The shield itself works but I can't get it to show up when his HP drops below 50%.
The shield itself is created via Visustellas Anti-Damage Barriers plugin and is set up as an Absorption Barrier. After it's absorbed the 50 damage I'm using for testing it goes off and everything is fine.
BUT I want that shield to deal damage when it goes off! If the shield breaks it should deal '50/number of living enemies' damage to every enemy on the field, e.g if there are 2 living enemies and the shield breaks each enemy should get 25 HP damage or if 3 enemies living every enemy should get 16 Hp damage.
To sum up the flow:
HP of Blood Mage drops below 50%
-> Bloodshield (Absorption Barrier) came up
Once Absorption Barrier breaks -> deal damage to the remaining enemies equal to 'HP of Barrier/ number of current enemies'
Is it possible and if so how?
I'm fiddling with it for a few days now and I can't even get the shield show up once the HP drops below the 50% treshold x___x