- Joined
- Mar 16, 2014
- Messages
- 169
All I am attempting to do is change a tooltip in the middle of a match. The tooltip is quite long, so this seems to trigger if I have a very long string. Is there any way around this? I can't save the map because of this error if I have a long string like this.
Here's the line of code for anyone curious.
call BlzSetAbilityExtendedTooltip( 'A00N', ( "Azgalor is a psychopath who gets joy from killing others. After he kills a Hero, Azgalor will be on a psychotic high for " + ( I2S(( 10 + GetUnitUserData(GetEnumUnit()) )) + ( " seconds that causes his HP to be unable to be reduced below 1, boosts his damage by 1.1X, boosts his movement speed by 25, and causes his attack cooldown to be reduced by 0.3 seconds from the base value of 2.2 seconds. The damage boost, movement speed boost + " and attack cooldown boost can stack if Azgalor kills multiple heroes. In addition, when killing a Hero, Azgalor will lifesteal 100% of the damage that killed them." ) ) ), 1 )
Here's the line of code for anyone curious.
call BlzSetAbilityExtendedTooltip( 'A00N', ( "Azgalor is a psychopath who gets joy from killing others. After he kills a Hero, Azgalor will be on a psychotic high for " + ( I2S(( 10 + GetUnitUserData(GetEnumUnit()) )) + ( " seconds that causes his HP to be unable to be reduced below 1, boosts his damage by 1.1X, boosts his movement speed by 25, and causes his attack cooldown to be reduced by 0.3 seconds from the base value of 2.2 seconds. The damage boost, movement speed boost + " and attack cooldown boost can stack if Azgalor kills multiple heroes. In addition, when killing a Hero, Azgalor will lifesteal 100% of the damage that killed them." ) ) ), 1 )