public HealthRegenRegion(HealthFlies mf, RVSController rvsc, String name) : base(String.Format("RVSHealthRegion{0}", name), mf.ThisRegionMap, 100, mf.ThisRegionPoint) { RegionName = name; Controller = rvsc; Flies = mf; this.Register(); }
public virtual void SpawnFountainsRabbits( RVS Handeling, String RegionName, Point3D spawn, Map s_map ) { Item HealthFountain = new StoneFountainAddon(); Item ManaFountain = new BrownStoneFountainAddon(); HealthFlies HealthFlies = new HealthFlies(); ManaFlies ManaFlies = new ManaFlies(); HealthFountain.Map = s_map; HealthFountain.Location = new Point3D( (spawn.X - 13),(spawn.Y + 13), spawn.Z ); ManaFountain.Map = s_map; ManaFountain.Location = new Point3D( (spawn.X + 12),(spawn.Y - 14), spawn.Z ); HealthFlies.Name = RegionName; HealthFlies.rvsc = this; HealthFlies.Enabled = true; HealthFlies.Map = s_map; HealthFlies.Location = new Point3D( (spawn.X - 13),(spawn.Y + 13), (spawn.Z + 15) ); ManaFlies.Name = RegionName; ManaFlies.rvsc = this; ManaFlies.Enabled = true; ManaFlies.Map = s_map; ManaFlies.Location = new Point3D( (spawn.X + 13),(spawn.Y - 13), (spawn.Z + 15) ); Fountains.Add( HealthFountain ); Fountains.Add( ManaFountain ); Fountains.Add( HealthFlies ); Fountains.Add( ManaFlies ); }