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
109
S
26
G
46
Posts: 1,886
Reputation: 35,168

Post » Tue Dec 02, 2014 12:19 am

100*random(1, 1.1) ?
B
92
S
32
G
106
Posts: 5,272
Reputation: 69,455


Return to How do I....?

Who is online

Users browsing this forum: darkrealos, plinkie, Rhindon and 20 guests