- Joined
- Mar 27, 2008
- Messages
- 8,035
You see, if I want "784" to be shown on the screen, I just don't want it to be shown 784, what I want is to separate them such as;
700
80
4
All of these would become 784, right ?
How do I separate these values ?
You see, I'm creating an ability that has over 1000 levels, and it would unefficient to just use 1000 levels of ability directly into the game, right ?
Therefore, I think I should separate the numbers up a bit such as;
There are 9 Levels +1 Bonus Damage
There are 9 Levels of +10 Bonus Damage
There are 9 Levels of +100 Bonus Damage
Simply, if I want to add 458 damage, I would;
First add Level 4 +100 Bonus Damage
Then add Level 5 +10 Bonus Damage
Lastly I would add Level 8 +1 Bonus Damage
Sum it up, (+100 * 4) + (+10 * 5) + (+1 * 8) = +458 Bonus Damage
How can I separate numbers in triggers ?
700
80
4
All of these would become 784, right ?
How do I separate these values ?
You see, I'm creating an ability that has over 1000 levels, and it would unefficient to just use 1000 levels of ability directly into the game, right ?
Therefore, I think I should separate the numbers up a bit such as;
There are 9 Levels +1 Bonus Damage
There are 9 Levels of +10 Bonus Damage
There are 9 Levels of +100 Bonus Damage
Simply, if I want to add 458 damage, I would;
First add Level 4 +100 Bonus Damage
Then add Level 5 +10 Bonus Damage
Lastly I would add Level 8 +1 Bonus Damage
Sum it up, (+100 * 4) + (+10 * 5) + (+1 * 8) = +458 Bonus Damage
How can I separate numbers in triggers ?