public HealthRegenRegion2(HealthFlies2 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 SpawnFountainsSheep( RVS Handeling, String RegionName, Point3D spawn, Map s_map ) { Item HealthFountain = new StoneFountainAddon(); Item ManaFountain = new BrownStoneFountainAddon(); HealthFlies2 HealthFlies = new HealthFlies2(); ManaFlies2 ManaFlies = new ManaFlies2(); 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 ); }