コード例 #1
0
 protected void InvokeDamaged(DamagedEventArgs args)
 {
     if (Damaged != null)
     {
         Damaged(this, args);
     }
 }
コード例 #2
0
ファイル: Mobile.Events.cs プロジェクト: Ravenwolfe/xrunuo
 protected void InvokeDamaged( DamagedEventArgs args )
 {
     if ( Damaged != null )
         Damaged( this, args );
 }
コード例 #3
0
ファイル: Tribulation.cs プロジェクト: Ravenwolfe/xrunuo
        private static void Mobile_Damaged( Mobile sender, DamagedEventArgs e )
        {
            if ( !sender.Alive )
                return;

            var spellsong = Spellsong.GetEffectSpellsong<Tribulation>( sender );

            if ( spellsong != null )
                spellsong.OnDamage( sender, e.Amount );
        }