This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
gitlord
/
isleward
mirror of
https://gitlab.com/Isleward/isleward.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
203
Wiki
Activity
Browse Source
Made the common bag white/gray and tweaked particles a bit
tags/v0.1.3^2
Big Bad Waffle
7 years ago
parent
439be433df
commit
2a442f4174
3 changed files
with
16 additions
and
9 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
BIN
BIN
+16
-9
src/client/js/components/chest.js
BIN
View File
BIN
View File
+ 16
- 9
src/client/js/components/chest.js
View File
@@ -4,7 +4,7 @@ define([
) {
var colors = [
'9
a5a3c
',
'9
29398
',
'3fa7dd',
'faac45',
'a24eff',
@@ -12,11 +12,11 @@ define([
];
var chances = [
0.0
1
,
0.0
3
,
0.0
55
,
0.
1
,
0.
16
0.0
075
,
0.0
2
,
0.0
4
,
0.
08
,
0.
095
];
var indices = {
@@ -60,10 +60,17 @@ define([
end: 0.2
},
lifetime: {
start
: 1,
end
: 4
min
: 1,
max
: 4
},
chance: chances[index]
chance: chances[index],
spawnType: 'rect',
spawnRect: {
x: -4,
y: -4,
w: 8,
h: 8
}
}
});
},
Write
Preview
Loading…
Cancel
Save