How do I write expression?

Get help using Construct 2

Post » Mon Dec 01, 2014 11:17 pm

if i have global variable with 100 called 'attack strenght' when my character hit oponent this deal 100 damage.
But i want to deal 100 damage + from1 to 10%
how write this?
B
111
S
28
G
48
Posts: 1,882
Reputation: 36,428

Post » Tue Dec 02, 2014 12:19 am

100*random(1, 1.1) ?
B
94
S
33
G
114
Posts: 5,357
Reputation: 73,775


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 19 guests