diff --git a/cli/fpstest1/Assets/ControlerScript.js b/cli/fpstest1/Assets/ControlerScript.js index 5bd784b..812fb91 100644 --- a/cli/fpstest1/Assets/ControlerScript.js +++ b/cli/fpstest1/Assets/ControlerScript.js @@ -195,7 +195,9 @@ function OnGUI () { if( prevSel != selectedInventoryIndex ){ herosc.SetToolTex( shortcutTextures[ selectedInventoryIndex ] ); } - if( Event.current.keyCode == KeyCode.X ) attackKeyHit = true; + if( Event.current.keyCode == KeyCode.X || + Event.current.keyCode == KeyCode.N || + Event.current.keyCode == KeyCode.E ) attackKeyHit = true; if( Event.current.keyCode == KeyCode.Return ) enterKeyHit = true; } diff --git a/cli/fpstest1/Assets/FireballPrefab.prefab b/cli/fpstest1/Assets/FireballPrefab.prefab index d0a080d..5aae81a 100644 Binary files a/cli/fpstest1/Assets/FireballPrefab.prefab and b/cli/fpstest1/Assets/FireballPrefab.prefab differ diff --git a/cli/fpstest1/Assets/MobballPrefab.prefab b/cli/fpstest1/Assets/MobballPrefab.prefab index c9453d1..6b44a42 100644 Binary files a/cli/fpstest1/Assets/MobballPrefab.prefab and b/cli/fpstest1/Assets/MobballPrefab.prefab differ diff --git a/sv/actor.js b/sv/actor.js index 04c03e4..1f59760 100644 --- a/sv/actor.js +++ b/sv/actor.js @@ -208,6 +208,7 @@ function ghostMove( curTime ) { main.nearcast( this.pos, "smoke", this.pos.x, this.pos.y, this.pos.z ); return false; } + this.velocity.y = 0; @@ -217,7 +218,7 @@ function ghostMove( curTime ) { this.pitch = this.pos.getPitch( diff ); if( this.counter > 100 && ( this.counter % 100 ) == 0 && this.hate ){ - var b = this.shootAt( "fireball", 8, 10, 2, 1000, this.targetPos ); + var b = this.shootAt( "fireball", 8, 5, 2, 1000, this.targetPos ); b.sendMark = false; main.nearcast( this.pos, "fire", this.pos.x, this.pos.y, this.pos.z, "fireball" ); } @@ -232,7 +233,7 @@ function ghostMove( curTime ) { } else { this.velocity.y = -1; } - + if( this.counter < 100 ) this.vForce = 0; @@ -621,7 +622,7 @@ Actor.prototype.poll = function(curTime) { // 送信. 落ちてる最中ではない場合は、あまり多く送らない var toSend = false; - + if( this.counter == 1 ) toSend = true; if( this.lastSentAt < (curTime-500) ) toSend = true; if( this.velocity.y != 0 && ( this.lastSentAt < ( curTime-50) ) ) toSend = true;