Esempio n. 1
0
        protected override void InternalOnAddedToBattle(EntityParam param)
        {
            base.InternalOnAddedToBattle(param);

            Hashtable def = Defs.GetEntity(this.id);

            this.detectRange = def.GetFloat("detect_range");
            this.angleSpeed  = def.GetFloat("angle_speed");
            this.angleSpeed2 = def.GetFloat("angle_speed2");
            this.dashDelay   = def.GetFloat("dash_delay");
            this.dashDelay2  = def.GetFloat("dash_delay2");
        }
Esempio n. 2
0
 protected override void LoadDefs()
 {
     this._defs = Defs.GetEntity(this.id);
 }