예제 #1
0
        //public void cl_OnInit(Game_NPCPawn aPawn)
        //{
        //    aPawn.Appearance.InstallBaseAppearance(this);
        //    if (Effects != null)
        //    {
        //        Effects.Apply(aPawn);
        //    }
        //    InitMovement(aPawn);
        //}

        public void sv_OnInit(Game_NPCPawn aPawn)
        {
            aPawn.Appearance.InstallBaseAppearance(this);
            aPawn.bInvulnerable = Invulnerable;
            InitMovement(aPawn);
            if (SkillDeck != null)
            {
                (aPawn.Skills as Game_NPCSkills).sv_SetSkilldeck(SkillDeck, Equipment);
            }
            if (Inventory != null)
            {
                GiveItems(aPawn, Inventory);
            }
        }
예제 #2
0
 public void sv_OnSpawn(Game_NPCPawn aPawn)
 {
     Debug.LogWarning("sv_OnSpawn is not implemented");
 }