- Joined
- Jun 16, 2007
- Messages
- 415
I am trying to make an Elixir system in which the Hero can consume special potions to gain a temporary bonus from the potion, displayed by a buff. However, the Hero is supposed to only be able to have on of these buffs at any given moment.
To get this effect I simply used the same spell for all potions (Vampiric Potion) and as a result of this, whenever the Hero uses an Elixir it cancels the buff given by the last one.
Here is the problem. I take a potion and it works fine. I take another potion and it cancels out the last one, but doesn't add a buff icon for the 2nd one. However trigger checking reveals that the 2nd buff is on the Hero, the 1st one gone, but it displays no icon for the 2nd!
Help is greatly appreciated.
To get this effect I simply used the same spell for all potions (Vampiric Potion) and as a result of this, whenever the Hero uses an Elixir it cancels the buff given by the last one.
Here is the problem. I take a potion and it works fine. I take another potion and it cancels out the last one, but doesn't add a buff icon for the 2nd one. However trigger checking reveals that the 2nd buff is on the Hero, the 1st one gone, but it displays no icon for the 2nd!
Help is greatly appreciated.