This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
论坛
实训
竞赛
大数据
AI开发
Register
Sign In
EESAST
/
THUAI6
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
3
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
fix:
🐛
fix a bug of using No ActiveSkill
tags/0.1.0
shangfengh
2 years ago
parent
28f8150b6a
commit
d5507091bc
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
logic/Gaming/Game.cs
+ 1
- 0
logic/Gaming/Game.cs
View File
@@ -264,6 +264,7 @@ namespace Gaming
Character? player = gameMap.FindPlayer(playerID);
if (player != null)
{
if (player.Occupation.ListOfIActiveSkill.Count <= skillNum) return false;
return skillManager.UseActiveSkill(player, player.Occupation.ListOfIActiveSkill[skillNum]);
}
else
Write
Preview
Loading…
Cancel
Save