Exemplo n.º 1
0
        public void Relive()
        {
            SyncEventHelper.Relive(this.rid, this.bornPosition, this.bornDirection);

            this.ChangeState(FSMStateType.Idle);
            this.property.Equal(Attr.Hp, this.property.mhp);
            this.property.Equal(Attr.Mana, this.property.mmana);
            this.property.Equal(Attr.Position, this.bornPosition);
            this.property.Equal(Attr.Direction, this.bornDirection);
            this.ActivePassiveBuffs();
            this.brain.enable = true;
            //todo 重新计算属性
        }