I am trying to create a variable which is "attached" to a specific hero. Preferably, the variable has to be a "Real" which starts at 1. When a certain item is picked up, or the hero is affected by a certain buff, the "Real" has +0.25 (or whatever) added on. So the "Real" will now remember 1.25 (as appose to just 1). When the item is dropped, or buff is lost, the "Real" will go back to 1 again. These added decimals can stack up indefinitely, but the base is always 1.
I am also trying to work out how I would add this hero specific variable to the end of a damaging trigger so that it would multiply the damage by the amount of the "Real". I am hoping I will be able to make sure that the trigger can detect which hero the "Real" belongs to, because different heroes will not have the same value in their "Real".
In more simplified terms.
Every hero has spell amplification. They all start with 1 spell amplification, so the damage done by the spell is multiplied by 1 (so nothing). Every items/buff they pickup/receive increases their spell amp by a decimal. If they had an item which gave 25% spell amp, when they cast their spell, the spell damage would be multiplied by 1.25 (so itself + 0.25 of itself).
Please help, I am adverse to DDS
I am also trying to work out how I would add this hero specific variable to the end of a damaging trigger so that it would multiply the damage by the amount of the "Real". I am hoping I will be able to make sure that the trigger can detect which hero the "Real" belongs to, because different heroes will not have the same value in their "Real".
In more simplified terms.
Every hero has spell amplification. They all start with 1 spell amplification, so the damage done by the spell is multiplied by 1 (so nothing). Every items/buff they pickup/receive increases their spell amp by a decimal. If they had an item which gave 25% spell amp, when they cast their spell, the spell damage would be multiplied by 1.25 (so itself + 0.25 of itself).
Please help, I am adverse to DDS
Last edited: