Browse Source

Merge pull request #567 from shangfengh/new

fix: 🐛 fix the bug about Strike
tags/v0.1.0
shangfengh GitHub 2 years ago
parent
commit
0c5e3550ce
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 3 deletions
  1. +3
    -3
      docs/版本更新说明.md
  2. +4
    -0
      logic/GameClass/GameObj/Bullet/Bullet.cs
  3. +2
    -0
      logic/Preparation/Utility/Transformation.cs

+ 3
- 3
docs/版本更新说明.md View File

@@ -48,6 +48,6 @@
- docs:更新了 游戏机制与平衡性调整更新草案.pdf - docs:更新了 游戏机制与平衡性调整更新草案.pdf
- hotfix:修复了移动状态设置错误 - hotfix:修复了移动状态设置错误


# 最新更新
- feat:Assassin、Teacher已调整
- docs:更新了 游戏机制与平衡性调整更新草案.pdf
# 5月20日1:30更新
- docs:更新了 游戏机制与平衡性调整更新草案.pdf
- feat:游戏机制与平衡性调整已完成

+ 4
- 0
logic/GameClass/GameObj/Bullet/Bullet.cs View File

@@ -76,6 +76,8 @@ namespace GameClass.GameObj
return new JumpyDumpty(character, pos); return new JumpyDumpty(character, pos);
case BulletType.BombBomb: case BulletType.BombBomb:
return new BombBomb(character, pos); return new BombBomb(character, pos);
case BulletType.Strike:
return new Strike(character, pos);
default: default:
return null; return null;
} }
@@ -101,6 +103,8 @@ namespace GameClass.GameObj
return BombBomb.cd; return BombBomb.cd;
case BulletType.JumpyDumpty: case BulletType.JumpyDumpty:
return JumpyDumpty.cd; return JumpyDumpty.cd;
case BulletType.Strike:
return Strike.cd;
default: default:
return GameData.basicCD; return GameData.basicCD;
} }


+ 2
- 0
logic/Preparation/Utility/Transformation.cs View File

@@ -185,6 +185,8 @@ namespace Preparation.Utility
return Protobuf.BulletType.BombBomb; return Protobuf.BulletType.BombBomb;
case Preparation.Utility.BulletType.JumpyDumpty: case Preparation.Utility.BulletType.JumpyDumpty:
return Protobuf.BulletType.JumpyDumpty; return Protobuf.BulletType.JumpyDumpty;
case Preparation.Utility.BulletType.Strike:
return Protobuf.BulletType.Strike;
default: default:
return Protobuf.BulletType.NullBulletType; return Protobuf.BulletType.NullBulletType;
} }


Loading…
Cancel
Save