HalosNTariff
New Member
- Reaction score
- 13
Hi everyone,
I'm making a map with a number of heroes, one of these heroes is the 'Blood Beast.' Literally a beast made of blood. For it's ultimate ability (Rubicund Osmosis) I want it to be able to enter a state for 30 seconds wherein every kill it makes adds +10 to it's strength attribute (up to a maximum of +100) and increases in size. The idea being that it drains the blood out of it's victims.
So I made an ability based on Immolation which, once activated, gives the Blood Beast the Rubicund Osmosis buff for 30 seconds. Then I set up a couple of variables: ROKills (inetger) to count the No. of kills and ROSizeMod (integer.)
Then I made these triggers:
The first sets/resets the variables to 0 once the hero starts the ability. It is the second where the problem is. The ability 'ROAttackBoost' is based on Attribute bonus and has +10 strength each level. However once the hero makes one kill it's strength rises by 10, as it should, but on successive kills the strength remains on +10 when I need it to rise to +30, +40 etc.
So can anyone spot what I've done wrong/offer a way to fix it?
Thanks in advance.
I'm making a map with a number of heroes, one of these heroes is the 'Blood Beast.' Literally a beast made of blood. For it's ultimate ability (Rubicund Osmosis) I want it to be able to enter a state for 30 seconds wherein every kill it makes adds +10 to it's strength attribute (up to a maximum of +100) and increases in size. The idea being that it drains the blood out of it's victims.
So I made an ability based on Immolation which, once activated, gives the Blood Beast the Rubicund Osmosis buff for 30 seconds. Then I set up a couple of variables: ROKills (inetger) to count the No. of kills and ROSizeMod (integer.)
Then I made these triggers:
Code:
ROVariableSetup
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Rubicund Osmosis (Tick)
Actions
Set ROKills = 0
Set ROSizeMod = 0
Code:
Untitled Trigger 001
Events
Unit - A unit Dies
Conditions
And - All (Conditions) are true
Conditions
((Killing unit) is A Hero) Equal to True
(Unit-type of (Killing unit)) Equal to Blood Beast
((Killing unit) has buff Rubicond Osmosis ) Equal to True
Actions
Set ROKills = (ROKills + 1)
Unit - Add ROAttkBoost to (Killing unit)
Unit - Set level of ROAttkBoost for (Triggering unit) to ROKills
The first sets/resets the variables to 0 once the hero starts the ability. It is the second where the problem is. The ability 'ROAttackBoost' is based on Attribute bonus and has +10 strength each level. However once the hero makes one kill it's strength rises by 10, as it should, but on successive kills the strength remains on +10 when I need it to rise to +30, +40 etc.
So can anyone spot what I've done wrong/offer a way to fix it?
Thanks in advance.