```
feat(gameplay): 提升单位检测范围并添加法师属性 - 将所有单位的检测范围从默认值提升至100 - 为法师预制体添加护盾、等级等新属性 - 为法师添加暴击、吸血、伤害减免等战斗属性 - 更换法师弹丸预设并调整相关参数 - 添加锚点交战Z线控制功能 - 更新玩家数据中配备的召唤师技能 - 移除多余的纹理配置文件 ```
This commit is contained in:
1 parent
6089308f66
commit
23c559d9f7
243 files changed
+150612
-1459
No files matched your search
@@ -23,6 +23,7 @@ public class PlayerSaveJson
|
||||
public string playerId = "local_player";
|
||||
public PlayerOwnedCharacterJson[] unlockedCharacters = new PlayerOwnedCharacterJson[0];
|
||||
public string[] currentDeck = new string[0];
|
||||
public string[] equippedSummonerSkills = new string[] { "神圣赞歌", "陨石轰炸" }; // 装备的 2 个召唤师技能名称
|
||||
public SavedFormationData savedFormation = new SavedFormationData();
|
||||
}
|
||||
|
||||
@@ -35,6 +36,7 @@ public class PlayerDataManager : MonoBehaviour
|
||||
|
||||
public List<PlayerCharacterData> ownedCharacters = new List<PlayerCharacterData>();
|
||||
public PlayerCharacterData[] currentDeck = new PlayerCharacterData[5];
|
||||
public string[] equippedSummonerSkills = new string[] { "神圣赞歌", "陨石轰炸" };
|
||||
|
||||
private void Awake()
|
||||
{
|
||||
@@ -70,6 +72,11 @@ public class PlayerDataManager : MonoBehaviour
|
||||
currentDeck = new PlayerCharacterData[5];
|
||||
for (int i = 0; i < save.currentDeck.Length && i < currentDeck.Length; i++)
|
||||
currentDeck[i] = GetCharacterData(save.currentDeck[i]);
|
||||
|
||||
if (save.equippedSummonerSkills != null && save.equippedSummonerSkills.Length >= 2)
|
||||
{
|
||||
equippedSummonerSkills = new string[] { save.equippedSummonerSkills[0], save.equippedSummonerSkills[1] };
|
||||
}
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user