public void SetCritical(string name, int critical) { ItemEntityHp itemHp = null; if (itemHpDicts.TryGetValue(name, out itemHp)) { itemHp.SetCritical(critical); } }
public void SetCritical(string name, int critical) { ItemEntityHp itemHp = null; if (itemHpDicts.TryGetValue(name, out itemHp)) { itemHp.SetCritical(critical); } }