Skip to content

Commit

Permalink
update skill Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Controllerdestiny committed Jan 21, 2025
1 parent 6842d03 commit a09811d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Economics.Skill/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
"自动方向": true,
"持续时间": -1,
"AI": [
0.0,
0.0, //-1使用玩家索引
0.0,
0.0
],
Expand Down
6 changes: 3 additions & 3 deletions src/Economics.Skill/Utils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,9 @@ internal static void CycleAdapr(TSPlayer ply, Vector2 vel, Vector2 pos, Projecti
Convert.ToInt32(Damage),
option.Knockback,
ply.Index,
option.AI[0] == -1 ? ply.Index : option.AI[0],
option.AI[1] == -1 ? ply.Index : option.AI[1],
option.AI[2] == -1 ? ply.Index : option.AI[2],
option.AI[0] == -1f ? ply.Index : option.AI[0],
option.AI[1] == -1f ? ply.Index : option.AI[1],
option.AI[2] == -1f ? ply.Index : option.AI[2],
option.TimeLeft,
guid);
TSPlayer.All.SendData(PacketTypes.ProjectileNew, "", index);
Expand Down

0 comments on commit a09811d

Please sign in to comment.