public Spell_AyaB(StageDataPackage StageData) { this.StageData = StageData; this.OriginalPosition = this.MyPlane.OriginalPosition; this.tmpPoint = this.MyPlane.OriginalPosition; this.LifeTime = 270; this.SpellList.Add((BaseObject)this); BaseEffect baseEffect = new BaseEffect(StageData, (string)null, this.Position, 0.0f, Math.PI / 2.0); baseEffect.TxtureObject = this.MyPlane.TxtureObject; baseEffect.TransparentVelocity = -20f; baseEffect.ScaleVelocity = 0.1f; BackgroundBlack backgroundBlack = new BackgroundBlack(StageData, this.Position); BackgroundMySC backgroundMySc1 = new BackgroundMySC(StageData, "76-4"); backgroundMySc1.LifeTime = 350; backgroundMySc1.MaxTransparent = 180; backgroundMySc1.TransparentValueF = 0.0f; backgroundMySc1.TransparentVelocity = 4f; backgroundMySc1.ColorValue = Color.Green; BackgroundMySC backgroundMySc2 = new BackgroundMySC(StageData, "76-4"); backgroundMySc2.LifeTime = 350; backgroundMySc2.MaxTransparent = 150; backgroundMySc2.TransparentValueF = 0.0f; backgroundMySc2.TransparentVelocity = 4f; backgroundMySc2.ColorValue = Color.Green; backgroundMySc2.AngularVelocityDegree = -0.5f; backgroundMySc2.Active = true; this.tmpRegion = this.MyPlane.Region; this.MyPlane.Region = -100; }
public Spell_AyaA(StageDataPackage StageData) { this.StageData = StageData; this.OriginalPosition = this.MyPlane.OriginalPosition; this.Damage = 10; this.Region = 30; this.LifeTime = 300; this.Direction = Math.PI / 2.0; this.SpellList.Add((BaseObject)this); BackgroundBlack backgroundBlack = new BackgroundBlack(StageData, this.Position); BackgroundMySC backgroundMySc1 = new BackgroundMySC(StageData, "76-4"); backgroundMySc1.LifeTime = 350; backgroundMySc1.MaxTransparent = 180; backgroundMySc1.TransparentValueF = 0.0f; backgroundMySc1.TransparentVelocity = 4f; backgroundMySc1.ColorValue = Color.Green; BackgroundMySC backgroundMySc2 = new BackgroundMySC(StageData, "76-4"); backgroundMySc2.LifeTime = 350; backgroundMySc2.MaxTransparent = 150; backgroundMySc2.TransparentValueF = 0.0f; backgroundMySc2.TransparentVelocity = 4f; backgroundMySc2.ColorValue = Color.Green; backgroundMySc2.AngularVelocityDegree = -0.5f; backgroundMySc2.Active = true; StageData.VibrateStart(this.LifeTime); this.MyPlane.HighSpeed = 2f; this.MyPlane.LowSpeed = 1f; this.TransparentValueF = 0.0f; this.TransparentVelocity = 4f; this.ScaleLength = 0.2f; this.ScaleVelocity = 0.05f; this.MaxScale = 2f; }