Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Commit

Permalink
Added assets
Browse files Browse the repository at this point in the history
  • Loading branch information
2767mr committed May 26, 2018
1 parent 8f59958 commit 694ff2d
Show file tree
Hide file tree
Showing 3 changed files with 125 additions and 0 deletions.
114 changes: 114 additions & 0 deletions assets/assets/data/enemies/multiplayer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
{
"level": 10,
"params": {
"hp": 400,
"attack": 40,
"defense": 40,
"focus": 40
},
"elementModes": {
"NEUTRAL": {
"hp": 1,
"attack": 1,
"defense": 1,
"focus": 1,
"elemFactor": [1, 1, 1, 1]
},
"HEAT": {
"hp": 1,
"attack": 1.1,
"defense": 0.9,
"focus": 1,
"elemFactor": [0.5, 1.5, 1, 1]
},
"COLD": {
"hp": 1,
"attack": 1,
"defense": 1,
"focus": 1,
"elemFactor": [0.5, 1.5, 1, 1]
},
"SHOCK": {
"hp": 1,
"attack": 1,
"defense": 1,
"focus": 1,
"elemFactor": [1, 1, 0.5, 1.5]
},
"WAVE": {
"hp": 1,
"attack": 1,
"defense": 1,
"focus": 1,
"elemFactor": [1, 1, 1.5, 0.5]
}
},
"credit": 0,
"exp": 1000,
"maxSp": 0,
"enduranceScale": 1,
"healDropRate": 0,
"boss": false,
"bossOrder": 0,
"headIdx": 4,
"padding": {
"x": 2,
"y": 2
},
"material": "ORGANIC",
"aiGroup": "",
"aiLearnType": "REGULAR",
"itemDrops": [],
"targetDetect": {
"detectDistance": 120,
"loseDistance": 320,
"notifyNeighbourRadius": 100
},
"hpBreaks": [],
"size": {
"x": 16,
"y": 16,
"z": 24
},
"anims": "player",
"defaultState": "DEFAULT",
"walkConfigs": {
"normal": {
"walkAnims": "normal"
}
},
"_wm": null,
"walkAnims": "normal",
"weight": 100,
"maxVel": 180,
"jumpingEnabled": true,
"shadow": 16,
"hitStable": "LIGHT",
"faceToTarget": true,
"stunEscapeTime": 1.5,
"DOCTYPE": "ENEMY",
"trackers": {
"move": {
"target": 5,
"initRandom": 0,
"resetRandom": 0.3,
"noStateReset": false,
"type": "TIME"
}
},
"states": {
"DEFAULT": {
"choices": []
}
},
"proxies": { },
"actions": {
"actions": {
"Idle": [{
"value": true,
"type": "FACE_TO_TARGET"
}]
}
},
"reactions": { }
}
7 changes: 7 additions & 0 deletions assets/config/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"server": {
"hostname": "localhost",
"port": 1423,
"type": "http"
}
}
4 changes: 4 additions & 0 deletions assets/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "multiplayer",
"main": "dist/mod.js"
}

0 comments on commit 694ff2d

Please sign in to comment.