private EffectSlime GetSlimeEffect() { var data = new MEffectData(); data.Duration = (int)this.Data.Z; data.ParticlePath = "Effects/SlimeParticles"; data.X = this.Data.X; data.Y = this.Data.Y; var slime = new EffectSlime(); slime.SetData(data); return(slime); }
private EffectSlime GetSlimeEffect() { var slime = new EffectSlime(); var data = new MEffectData(); data.Duration = (int)this._data.X; data.X = this._data.Y; data.ParticlePath = StringUtil.PathBuilder( CombatGUIParams.EFFECTS_PATH, "Slime", CombatGUIParams.PARTICLES_EXTENSION); data.Type = EEffect.Slime; slime.SetData(data); return(slime); }