修改技能读取
This commit is contained in:
parent
8334325200
commit
e71e2e820b
@ -63,7 +63,7 @@ public class Role : Fun
|
||||
public string Quality;//品质
|
||||
public string Elements;//属性
|
||||
public string Info;//详情
|
||||
public string SkillId;//技能
|
||||
public List<Dictionary<string, string>> SkillId;//技能
|
||||
public string AttackType;//攻击类型
|
||||
public string AttackActionType;//攻击作用类型
|
||||
|
||||
@ -551,10 +551,12 @@ public class Role : Fun
|
||||
if (camp==Camp.Player)
|
||||
{
|
||||
// Debug.Log("攻击力赋值==============================" + MengyaoInfo.Instance.m_Mengyao.Count);
|
||||
Debug.Log("攻击力赋值==============================" + MengyaoInfo.Instance.m_Mengyao.Count);
|
||||
foreach (Character character in MengyaoInfo.Instance.m_Mengyao)
|
||||
{
|
||||
if (id ==character.Id)
|
||||
{
|
||||
|
||||
Name = character.Name;
|
||||
MinAttack = int.Parse(character.MinAttack);
|
||||
MaxAttack = int.Parse(character.MaxAttack);
|
||||
@ -568,7 +570,6 @@ public class Role : Fun
|
||||
AttackActionType=character.AttackActionType;//攻击作用类型
|
||||
CriticalHitRateBonus = float.Parse(character.CriticalHitRateBonus);
|
||||
AttackRange = float.Parse(character.AttackRange);
|
||||
//Debug.Log("攻击力赋值++++++++++++++++++++++++++++++");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user