@@ -89,6 +89,9 @@ public class Character : MonoBehaviour
public bool showInjuryNum; //伤害跳字开关
public bool canFly = false;
+ [Header("护甲")]
+ public int armor;
+
[Header("锁魂塔")]
public LockSoul ls;
public bool isInSoulTower; //在锁魂塔范围内
@@ -288,7 +288,7 @@ public class EnemyCreater : MonoBehaviour
{
SingleEnemyConfig cfgEnemy = GameManager.instance.allCfgData.CfgEnemy.Get(enemyId);
GameObject enemyObj = Util.Instantiate(cfgEnemy.EnemyPrefab, pos);
- if (enemyId > 1000)
+ if (enemyId > 30000)
Boss boss = enemyObj.GetComponentInChildren<Boss>();
}