Skip to content

Commit

Permalink
遥望齐州九点烟,一泓海水杯中泻
Browse files Browse the repository at this point in the history
engine改为自己管理,修改head血量显示,被击倒人物朝向错误
  • Loading branch information
scarsty committed May 7, 2024
1 parent 63c1b57 commit 4daaf2f
Show file tree
Hide file tree
Showing 8 changed files with 1,261 additions and 17 deletions.
2 changes: 1 addition & 1 deletion mlcc
Submodule mlcc updated 3 files
+0 −784 Engine.cpp
+0 −458 Engine.h
+0 −4 readme.md
14 changes: 7 additions & 7 deletions src/BattleSceneSekiro.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1159,16 +1159,16 @@ void BattleSceneSekiro::backRun1()

void BattleSceneSekiro::Action(Role* r)
{
if (r->CoolDown == 0)
if (r->HaveAction)
{
auto r1 = findNearestEnemy(r->Team, r->Pos);
if (r1)
if (r && !r->Dead && r->CoolDown == 0)
{
r->RealTowards = r1->Pos - r->Pos;
auto r1 = findNearestEnemy(r->Team, r->Pos);
if (r1)
{
r->RealTowards = r1->Pos - r->Pos;
}
}
}
if (r->HaveAction)
{
//音效和动画
if (r->OperationType >= 0
//&& r->ActFrame == r->FightFrame[r->ActType] - 3
Expand Down
1 change: 0 additions & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ file(GLOB SRC_LIST
../mlcc/strfunc.cpp
../mlcc/filefunc.cpp
../mlcc/PotConv.cpp
../mlcc/Engine.cpp
../others/Hanz2Piny.cpp
)

Expand Down
Loading

0 comments on commit 4daaf2f

Please sign in to comment.