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ş
219
65
  1. Anasayfa
  2. UO Scriptleri
  3. RunUO Scripts
  4. Items
  5. Deeds
  6. SpellBook Deed

SpellBook Deed

  • 2006-05-02 22:11
  • 0 Yorumlar
  • 1456 Görüntüleme
using System; 
using Server;
using Server.Network;
using Server.Prompts;
using Server.Items;
using Server.Guilds;
using Server.Gumps;
using Server.Mobiles;
using Server.Targeting;

namespace Server.Misc
{
public class Aspellbookdeed : Item
{
[Constructable]
public Aspellbookdeed() : base( 0x14F0 )
{
Weight = 1.0;
Hue = 1266;
Name = "A SpellBook Deed";
}

public Aspellbookdeed( 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();
}

public override bool DisplayLootType{ get{ return false; } }

public override void OnDoubleClick( Mobile from )
{
if ( !IsChildOf( from.Backpack ) ) // Make sure its in their pack
{
from.SendLocalizedMessage( 1042001 ); // That must be in your pack for you to use it.
}
else
{
from.SendGump( new BookGump2( from ) );
this.Delete();
}
}
}
public class BookGump2 : Gump
{
private const int LabelColor = 000000;
private const int SelectedColor = 000000;
private const int DisabledColor = 000000;

private const int LabelColor999 = 000000;
private const int SelectedColor32 = 0x8090FF;
private const int DisabledColor999 = 000000;

private const int LabelHue = 0x480;
private const int YellowHue = 1161;
private const int RedHue = 0x20;
public BookGump2( Mobile owner ) : base( 300,100 )
{
this.Closable=true;
this.Disposable=false;
this.Dragable=true;
this.Resizable=false;
this.AddPage(0);
this.AddBackground(15, 15, 190, 155, 3600);///Middle lable background
this.AddLabel(30, 25, 32, @"Pick A Spell Book From");
this.AddLabel(30, 45, 32, @"This List");
this.AddButton(30, 70, 2362, 2362, 1, GumpButtonType.Reply, 0);
this.AddButton(30, 90, 2362, 2362, 2, GumpButtonType.Reply, 0);
this.AddButton(30, 110, 2362, 2362, 3, GumpButtonType.Reply, 0);
this.AddLabel(50, 70, 32, @"FullSpellbook");
this.AddLabel(50, 90, 32, @"FullNecromancerSpellbook");
this.AddLabel(50, 110, 32, @"BookOfChivalry");


}

public override void OnResponse( NetState state, RelayInfo info )
{
Mobile from = state.Mobile;
//Aspellbookdeed ed = ed.Delete();
switch ( info.ButtonID )
{
case 0:
{
from.AddToBackpack(new Aspellbookdeed());
from.SendMessage( "You decide not to select an Spellbook, the deed is replaced in your backpack." );
from.PlaySound( 521 );
break;
}
case 1:
{
from.AddToBackpack(new FullSpellbook());
from.SendMessage( "A full Spellbook has been placed into your backpack." );
from.PlaySound( 521 );

break;
}
case 2:
{
from.AddToBackpack(new FullNecromancerSpellbook());
from.SendMessage( "A full Necromancer Spellbook has been placed into your backpack." );
from.PlaySound( 521 );

break;
}
case 3:
{
from.AddToBackpack(new BookOfChivalry());
from.SendMessage( "A Book Of Chivalry has been placed into your backpack." );
from.PlaySound( 521 );

break;
}
}
}
}
}

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
  • Full SpellBook(deed gerekli)

    2006-05-02 22:10

  • Full Necro Spellbook(deed i indirmeniz gerekior)

    2006-05-02 22:09

  • Pet Res Deed

    2006-05-02 22:25

  • Bug Odulu Deed

    2010-10-13 19:58

  • || .deed || .teleporter ||

    2007-06-14 16:48



  • Son Forumlar
  • Sayfalar
  • Syntax
    UO:Nimloth Yeniden Doğuyor !

    Sunucular 15 dakika önce

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

    Ultima Online 39 dakika önce

  • buffa
    Üyeliği 18 yıl ve üstünde olanlar.

    Ultima Online 40 dakika önce

  • kingofcs
    KINGOFCS – Güçlü Altyapı, Güvenli CS1.6 & HL...

    Sunucular 1 hafta önce

  • gonzi
    Üyeliği 15 yıl ve üzerinde olanlar.

    Ultima Online 2 hafta önce

  • Ege ERKEK
    Guild Dominion & Signal System | Üreticiler Bile...

    Ultima Online 2 hafta önce

  • Montana LoveLACe
    Paxhistoria yapay zeka destekli web tabanlı...

    Diğer Oyunlar 3 hafta önce

  • Ege ERKEK
    2025 CS 1.5 TÜRK SUNUCUSU AÇILDI

    Sunucular 4 hafta önce

  • Vanq
    UO Lord British Gazinosu #5 Yayında!

    Duyurular 4 hafta önce

  • Deathwave
    Valheim’e Ultima Online Modu

    Ultima Online 1 ay önce

  • Ege ERKEK
    Elit Donanım Modülü (EDM) | Üretimin Doruğu (Yeni...

    Ultima Online 1 ay önce

  • Ege ERKEK
    Kader Masası | Seçimin Yazgını Belirleyecek (Yeni...

    Ultima Online 1 ay önce

  • Ege ERKEK
    İçerik Kaşifi Aramızda!

    Duyurular 1 ay önce

  • Venus
    World of UO'da Geçmişe Yolculuk Başladı

    Sunucular 1 ay önce

  • Nefrelius
    Alcor UO Reborn

    Sunucular 1 ay önce

  • 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

  • Ultima Online, ClassicUO ile resmi işbirliği yapıyor! Performans iyileştirmeleri, geniş oyun penceresi ve daha fazlası geliyor.

    Ultima Online, ClassicUO ile Resmi İşbirliğine Gidiyor

    2024-09-26 14:21

  • Centred#

    2024-07-08 22:50

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.