21.YILTürkiye'nin en eski ve aktif online oyun platformu, Ultima Online, Counter-Strike ve diğer online oyunlar hakkında Türkçe haber, bilgi ve forum sunuyor. Türkiye'nin en eski ve aktif online oyun platformu, Ultima Online, Counter-Strike ve diğer online oyunlar hakkında Türkçe haber, bilgi ve forum sunuyor.
  • ANASAYFA
  • ULTIMA ONLINE
  • FORUM
  • DOKÜMAN
  • İNDİR
   Üye ol    Giriş
375
67
  1. Anasayfa
  2. UO Scriptleri
  3. RunUO Scripts
  4. Items
  5. Weapons
  6. Poisonous Bow
Lucretius

Poisonous Bow

  • Lucretius
  • 2005-02-27 21:05
  • 0 Yorumlar
  • 2032 Görüntüleme
/// %25 random vurmaktadır. 

using System;
using Server;
using Server.Items;
using Server.Network;

namespace Server.Items
{
public class PoisonousBow : BaseRanged
{
public override WeaponAbility PrimaryAbility{ get{ return WeaponAbility.ParalyzingBlow; } }
public override WeaponAbility SecondaryAbility{ get{ return WeaponAbility.MortalStrike; } }

public override int EffectID{ get{ return 0xF42; } }
public override Type AmmoType{ get{ return typeof( Arrow ); } }
public override Item Ammo{ get{ return new Arrow(); } }

public override int AosStrengthReq{ get{ return 50; } }
public override int AosMinDamage{ get{ return 23; } }
public override int AosMaxDamage{ get{ return 25; } }
public override int AosSpeed{ get{ return 35; } }

public override int OldStrengthReq{ get{ return 20; } }
public override int OldMinDamage{ get{ return 9; } }
public override int OldMaxDamage{ get{ return 25; } }
public override int OldSpeed{ get{ return 20; } }

public override int DefMaxRange{ get{ return 10; } }

public override int InitMinHits{ get{ return 255; } }
public override int InitMaxHits{ get{ return 255; } }

public override WeaponAnimation DefAnimation{ get{ return WeaponAnimation.ShootBow; } }

public override int ArtifactRarity{ get{ return 12; } }

[Constructable]
public PoisonousBow() : base( 0x13B2 )
{
Hue = 0x4F8;
Attributes.SpellChanneling = 1;
WeaponAttributes.HitLeechMana = 75;
Name = "The Bow of Poisons";
Weight = 6.0;
Layer = Layer.TwoHanded;
}

public override void GetDamageTypes( Mobile wielder, out int phys, out int fire, out int cold, out int pois, out int nrgy )
{
phys = fire = cold = nrgy = 0;
pois = 100;
}

public override void OnHit( Mobile attacker, Mobile defender )
{
if ( attacker.Player && !defender.Player && (defender.Body.IsAnimal || defender.Body.IsMonster) && 0.4 >= Utility.RandomDouble() )
defender.AddToBackpack( Ammo );

base.OnHit( attacker, defender );

if ( 0.25 > Utility.RandomDouble() )
{
defender.PlaySound( 0xDD );
defender.FixedParticles( 0x3728, 244, 25, 9941, 1266, 0, EffectLayer.Waist );
switch ( Utility.Random( 5 ))
{
case 0: defender.ApplyPoison( defender, Poison.Lethal ); break;
case 1: defender.ApplyPoison( defender, Poison.Deadly ); break;
case 2: defender.ApplyPoison( defender, Poison.Greater ); break;
case 3: defender.ApplyPoison( defender, Poison.Regular ); break;
case 4: defender.ApplyPoison( defender, Poison.Lesser ); break;
default: break;
}
}
}

public PoisonousBow( Serial serial ) : base( serial )
{
}

public override void Serialize( GenericWriter writer )
{
base.Serialize( writer );

writer.Write( (int) 0 ); // version
}

public override void Deserialize( GenericReader reader )
{
base.Deserialize( reader );

int version = reader.ReadInt();

if ( Weight == 7.0 )
Weight = 6.0;
}
}
}

Değerlendirmeler

0 0

Total votes: 0

Üye Ol veya Giriş Yap

Bu içeriğe yorum atmak istiyorsanız hemen üye olun veya giriş yapın.

Discord ile Bağlan
Twitch ile Bağlan
Steam ile Bağlan
Google ile Bağlan

Yorumlar (0)

Henüz yorum yapılmamış
Sadece kayıtlı kullanıcılar yeni yorum yapabilir.


Ultima-Strike Discord
Benzer Sayfalar

Bulunamadı.



  • Son Forumlar
  • Sayfalar
  • morfin59
    Eryndor UO

    Sunucular 1 gün önce

  • Mortal
    UO:Nimloth Yeniden Doğuyor !

    Sunucular 1 gün önce

  • Rowall
    Volantis Ultima Online Hakkında

    Sunucular 2 gün önce

  • Mortal
    SphereNet: SphereServer Source-X'in Modern .NET 9...

    Ultima Online 3 gün önce

  • stark_nephilim_uo
    Nephilim Pvp - Age Of Gold

    Sunucular 6 gün önce

  • [Lancelot]
    Ultoria – Efsane Yeniden Başlıyor!

    Sunucular 1 hafta önce

  • Tovertis
    WEST ULTİMA ONLİNE

    Sunucular 1 hafta önce

  • Koschey0
    HaldiUO (Pc-Mobile)

    Sunucular 1 hafta önce

  • Sirlather
    Rampage Pvp : The Bloodwing Awaken

    Sunucular 1 hafta önce

  • AnhElUs 333
    Tek oynayan oyunculara özel Discord Sunucusu...

    Ultima Online 1 hafta önce

  • ENDOTUO
    ENDOT UO | Age of Shadows (AOS) RunUO | Büyük...

    Sunucular 2 hafta önce

  • Aykut cosar
    [Tanıtım] Aslan PvP – [CENTER]

    Ultima Online 2 hafta önce

  • Nightwish
    Medieval UO Scripter Egosu

    Sunucular 3 hafta önce

  • Galentos
    Üyeliği 20 yıl ve üstünde olanlar.

    Ultima Online 1 ay önce

  • Ege ERKEK
    Ultima Online: New Legacy – Season 2 | İşte Bütün...

    Ultima Online 1 ay önce

  • Gumpart Spell Icons

    2026-10-29 23:02

  • UOFiddler Arama Plugin

    2026-10-01 15:40

  • Ultima Online .mul Konu anim4.mul ile Binek ekleme

    2026-01-25 20:19

  • MMORPG'de Devrim Yaptı: Sınıf Tanımayan Ultima Online!

    2025-12-27 21:13

  • Ultima Online'ın Oynanışını Tamamen Değiştiren Harita Kararı!

    2025-12-23 23:17

  • Yeni Başlayanlar İçin Ultima Online

    2025-11-27 19:07

  • Skill seçimlerinizi planlamak artık çok daha kolay

    Ultima Online Karakter Yapılandırma Aracı Bölümü Açıldı!

    2024-10-31 22:47

  • Ultima Online topluluğu, ClassicUO'nun sadece web client olarak kullanılabileceğinin açıklanmasının ardından tepkili.

    Resmi UO, Oyuncuları İkiye Böldü: Web Client Yeterli mi?

    2024-10-14 17:45

Menü
  • ANASAYFA
  • FORUM
  • DOKÜMAN
  • İNDİR
  • İLETİŞİM
  • Bağlantılar
  • CS 1.6 indir
  • CS 1.6 Türkçe
  • CS 1.6 Bot
  • CS 1.6 CFG
  • CS 1.6 Rate Ayarları
  • UO Server
  • Ghost Mouse indir
  • FPS Nedir?
  • Ultima Online PVP Server
  • Makroman
  • UO Karakter Yapılandırma
    © 2004 - 2026 Ultima-Strike. Her hakkı saklıdır.