Hey guys, I kinda need help with this ability that i'm making called gamble. I already got the trigger ready but whenever i test it, my laptop lags and the game crashes. Here is the trigger:
What the skill is supposed to do is challenge an enemy hero to a battle. Upon casting 25% of your gold and your enemy's gold is taken to add up a reward (if you have 1000 it takes 250 and if your enemy has 1000 it takes 250 as well. 250 + 250 = 500 <---- Reward). The winner gets the reward of the collected gold (from you and the target) and gains 10 intelligence while the loser loses 10 intelligence.
What the skill is supposed to do is challenge an enemy hero to a battle. Upon casting 25% of your gold and your enemy's gold is taken to add up a reward (if you have 1000 it takes 250 and if your enemy has 1000 it takes 250 as well. 250 + 250 = 500 <---- Reward). The winner gets the reward of the collected gold (from you and the target) and gains 10 intelligence while the loser loses 10 intelligence.