Spider works now
This commit is contained in:
parent
c1669cd07b
commit
1b14b6c633
5 changed files with 6 additions and 7 deletions
|
@ -215,7 +215,7 @@ MonoBehaviour:
|
|||
victim: {fileID: 0}
|
||||
body: {fileID: 50694460188451534}
|
||||
bulletSpawn: {fileID: 4211621010230988}
|
||||
bullet: {fileID: 1340970730445882, guid: 5b046158ce568b14285b9d75961bfcce, type: 2}
|
||||
bullet: {fileID: 1263621144626828, guid: 034397877b290c9448b855c57cecc1ab, type: 2}
|
||||
--- !u!114 &114987943571538998
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 1
|
||||
|
|
|
@ -38,7 +38,7 @@ Transform:
|
|||
m_GameObject: {fileID: 1263621144626828}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 0.15, y: 0.15, z: 1}
|
||||
m_LocalScale: {x: 2, y: 2, z: 1}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 0
|
||||
|
@ -99,7 +99,7 @@ MonoBehaviour:
|
|||
m_Script: {fileID: 11500000, guid: 0cfff064e4589e34cb5b415dcc016dc1, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
speed: 8
|
||||
speed: 3
|
||||
damage: 0
|
||||
start: 0
|
||||
--- !u!212 &212451968521997376
|
||||
|
|
|
@ -1543,7 +1543,7 @@ Prefab:
|
|||
- target: {fileID: 224150154901314796, guid: 460d856ea4eb14cedb5fecde1fe6d743,
|
||||
type: 2}
|
||||
propertyPath: m_AnchoredPosition.x
|
||||
value: 39.433407
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 224150154901314796, guid: 460d856ea4eb14cedb5fecde1fe6d743,
|
||||
type: 2}
|
||||
|
|
|
@ -17,8 +17,7 @@ namespace Assets.Scripts.Entities {
|
|||
|
||||
protected override void Start() {
|
||||
base.Start();
|
||||
SingleShot s = new SingleShot(this.gameObject);
|
||||
s.SetCooldown(5);
|
||||
SingleShot s = new SingleShot(this.gameObject, 25, 4, 2);
|
||||
s.SetPrefab(bullet);
|
||||
s.SetSpawn(bulletSpawn);
|
||||
SetAttack(s);
|
||||
|
|
|
@ -453,7 +453,7 @@ public class DungeonGenerator {
|
|||
Objective o = null;
|
||||
|
||||
int rand = UnityEngine.Random.Range(0, 7);
|
||||
switch (rand) {
|
||||
switch (6) {
|
||||
case 0:
|
||||
case 1: {
|
||||
// Scorpion Attack!!!!:
|
||||
|
|
Loading…
Add table
Reference in a new issue