mob
proc
Statup()
src.maxhp*=1.6
src.maxmp*=1.4
src.strength*=1.3
src.defense*=1.2
src.hp=src.maxhp
src.mp=src.maxmp
src<<"<b><font color=white><font size=2>Your stats increase..."
ID:269208
Apr 9 2005, 3:29 pm
|
|
i was wonderin how to round up... i have
|
In response to Volte
|
|
thanks man
|
In response to Oblivon_2
|
|
actually, i dont understand it..
|
In response to Oblivon_2
|
|
var/X = 10.5 |
In response to Ryne Rekab
|
|
Ryne Rekab wrote:
> var/X = 10.5 Actually, that'd output 10. Round() by default returns the number without any decimals attached to it. You can supply a second argument to make it round to the nearest 1, 5, or whatever number you want. ~>Volte |
In response to Volte
|
|
Oh yeah I forgot the round() was weird like that. Sorry about that.
-Ryan |
~>Volte