Помощь - Поиск - Пользователи - Календарь
Полная версия: Guardian's Items
UoKit.com Форумы > Ultima Online : Dev > Sphere Server > Архив готовых скриптов
Savagev
Скрипт писал просто так, от нечиго делать.
Скрипт под сферу 55i, на других не пробывал.

Цитата
////////////////////////////////////////////////////
//          Веши Охраников в Гвард Зонах.      //
//      Скрипт написан для шарда: Dark Mages      //
//            Скрипт написал GM Savagev        //
////////////////////////////////////////////////////

[Itemdef i_guard_helm]
Defname=i_guard_helm
Id=i_platemail_helm
Type=t_armor
Name=Guardian's Helm
Weight=5
Armor=5
Reqstr=150

On=@Create
Color=09EC
Hitpoints=150

On=@Equip
Src.Tactics=<Src.Tactics>+1
Src.Parrying=<Src.Parrying>+1
Src.Swordsmanship=<Src.Swordsmanship>+1
Src.Effect=3,i_fx_glow_spike,6,15,1
Src.Sfx snd_spell_strength

On=@Unequip
Src.Tactics=<Src.Tactics>+(-1)
Src.Parrying=<Src.Parrying>+(-1)
Src.Swordsmanship=<Src.Swordsmanship>+(-1)
Src.Effect=3,i_fx_glow_spike,6,15,1
Src.Sfx snd_spell_strength

[Itemdef i_guard_gorget]
Defname=i_guard_gorget
Id=i_platemail_gorget
Type=t_armor
Name=Guardian's Gorget
Weight=5
Armor=5
Reqstr=150

On=@Create
Color=09EC
Hitpoints=150

On=@Equip
Src.Tactics=<Src.Tactics>+1
Src.Parrying=<Src.Parrying>+1
Src.Swordsmanship=<Src.Swordsmanship>+1
Src.Effect=3,i_fx_glow_spike,6,15,1
Src.Sfx snd_spell_strength

On=@Unequip
Src.Tactics=<Src.Tactics>+(-1)
Src.Parrying=<Src.Parrying>+(-1)
Src.Swordsmanship=<Src.Swordsmanship>+(-1)
Src.Effect=3,i_fx_glow_spike,6,15,1
Src.Sfx snd_spell_strength

[Itemdef i_guard_arms]
Defname=i_guard_arms
Id=i_platemail_arms
Type=t_armor
Name=Guardian's Arms
Weight=10
Armor=10
Reqstr=150

On=@Create
Color=09EC
Hitpoints=150

On=@Equip
Src.Tactics=<Src.Tactics>+1
Src.Parrying=<Src.Parrying>+1
Src.Swordsmanship=<Src.Swordsmanship>+1
Src.Effect=3,i_fx_glow_spike,6,15,1
Src.Sfx snd_spell_strength

On=@Unequip
Src.Tactics=<Src.Tactics>+(-1)
Src.Parrying=<Src.Parrying>+(-1)
Src.Swordsmanship=<Src.Swordsmanship>+(-1)
Src.Effect=3,i_fx_glow_spike,6,15,1
Src.Sfx snd_spell_strength

[Itemdef i_guard_gloves]
Defname=i_guard_gloves
Id=i_platemail_gloves
Type=t_armor
Name=Guardian's Gauntlets
Weight=5
Armor=5
Reqstr=150

On=@Create
Color=09EC
Hitpoints=150

On=@Equip
Src.Tactics=<Src.Tactics>+1
Src.Parrying=<Src.Parrying>+1
Src.Swordsmanship=<Src.Swordsmanship>+1
Src.Effect=3,i_fx_glow_spike,6,15,1
Src.Sfx snd_spell_strength

On=@Unequip
Src.Tactics=<Src.Tactics>+(-1)
Src.Parrying=<Src.Parrying>+(-1)
Src.Swordsmanship=<Src.Swordsmanship>+(-1)
Src.Effect=3,i_fx_glow_spike,6,15,1
Src.Sfx snd_spell_strength

[Itemdef i_guard_chest]
Defname=i_guard_chest
Id=i_platemail_chest
Type=t_armor
Name=Guardian's Chest
Weight=10
Armor=10
Reqstr=150

On=@Create
Color=09EC
Hitpoints=150

On=@Equip
Src.Tactics=<Src.Tactics>+1
Src.Parrying=<Src.Parrying>+1
Src.Swordsmanship=<Src.Swordsmanship>+1
Src.Effect=3,i_fx_glow_spike,6,15,1
Src.Sfx snd_spell_strength

On=@Unequip
Src.Tactics=<Src.Tactics>+(-1)
Src.Parrying=<Src.Parrying>+(-1)
Src.Swordsmanship=<Src.Swordsmanship>+(-1)
Src.Effect=3,i_fx_glow_spike,6,15,1
Src.Sfx snd_spell_strength

[Itemdef i_guard_legs]
Defname=i_guard_legs
Id=i_platemail_leggings
Type=t_armor
Name=Guardian's Leggings
Weight=10
Armor=10
Reqstr=150

On=@Create
Color=09EC
Hitpoints=150

On=@Equip
Src.Tactics=<Src.Tactics>+1
Src.Parrying=<Src.Parrying>+1
Src.Swordsmanship=<Src.Swordsmanship>+1
Src.Effect=3,i_fx_glow_spike,6,15,1
Src.Sfx snd_spell_strength

On=@Unequip
Src.Tactics=<Src.Tactics>+(-1)
Src.Parrying=<Src.Parrying>+(-1)
Src.Swordsmanship=<Src.Swordsmanship>+(-1)
Src.Effect=3,i_fx_glow_spike,6,15,1
Src.Sfx snd_spell_strength

[Itemdef i_guard_shield]
Defname=i_guard_shield
Id=i_shield_heater
Type=t_shield
Name=Guardian's Shield
Weight=10
Armor=10
Reqstr=150

On=@Create
Color=09EC
Hitpoints=150

On=@Equip
Src.Tactics=<Src.Tactics>+1
Src.Parrying=<Src.Parrying>+1
Src.Swordsmanship=<Src.Swordsmanship>+1
Src.Effect=3,i_fx_glow_spike,6,15,1
Src.Sfx snd_spell_strength

On=@Unequip
Src.Tactics=<Src.Tactics>+(-1)
Src.Parrying=<Src.Parrying>+(-1)
Src.Swordsmanship=<Src.Swordsmanship>+(-1)
Src.Effect=3,i_fx_glow_spike,6,15,1
Src.Sfx snd_spell_strength

[Itemdef i_guard_sword]
Defname=i_guard_sword
Id=i_sword_viking
Type=t_weapon_sword
Name=Guardian's Sword
Weight=5
Reqstr=150
Dam=40,60
Skill=Swordsmanship

On=@Create
Color=09EB
Hitpoints=150

On=@Equip
Src.Swordsmanship=<Src.Swordsmanship>+3
Src.Effect=3,i_fx_glow_spike,6,15,1
Src.Sfx snd_spell_strength

On=@Unequip
Src.Swordsmanship=<Src.Swordsmanship>+(-3)
Src.Effect=3,i_fx_glow_spike,6,15,1
Src.Sfx snd_spell_strength

On=@Damage
Src.Effect=3,i_fx_glow_spike,6,15,1
Src.Sfx snd_spell_strength

[Itemdef i_guard_halberd]
Defname=i_guard_halberd
Id=i_halberd
Type=t_weapon_sword
Name=Guardian's Halberd
Weight=6
Reqstr=150
Dam=40,60
Skill=Swordsmanship

On=@Create
Color=09EB
Hitpoints=150

On=@Equip
Src.Swordsmanship=<Src.Swordsmanship>+3
Src.Effect=3,i_fx_glow_spike,6,15,1
Src.Sfx snd_spell_strength

On=@Unequip
Src.Swordsmanship=<Src.Swordsmanship>+(-3)
Src.Effect=3,i_fx_glow_spike,6,15,1
Src.Sfx snd_spell_strength

On=@Damage
Src.Effect=3,i_fx_glow_spike,6,15,1
Src.Sfx snd_spell_strength

[Itemdef i_guard_bardiche]
Defname=i_guard_bardiche
Id=i_bardiche
Type=t_weapon_sword
Name=Guardian's Bardiche
Weight=7
Reqstr=150
Dam=40,60
Skill=Swordsmanship

On=@Create
Color=09EB
Hitpoints=150

On=@Equip
Src.Swordsmanship=<Src.Swordsmanship>+3
Src.Effect=3,i_fx_glow_spike,6,15,1
Src.Sfx snd_spell_strength

On=@Unequip
Src.Swordsmanship=<Src.Swordsmanship>+(-3)
Src.Effect=3,i_fx_glow_spike,6,15,1
Src.Sfx snd_spell_strength

On=@Damage
Src.Effect=3,i_fx_glow_spike,6,15,1
Src.Sfx snd_spell_strength

[Itemdef i_guard_shroud]
Defname=i_guard_shroud
Id=i_deathshroud
Type=t_clothing
Name=Guardian's Shroud
Weight=7
Reqstr=150

On=@Create
Color=0480
Hitpoints=150

On=@Equip
Src.Tactics=<Src.Tactics>+1
Src.Parrying=<Src.Parrying>+1
Src.Swordsmanship=<Src.Swordsmanship>+1
Src.Effect=3,i_fx_glow_spike,6,15,1
Src.Sfx snd_spell_strength

On=@Unequip
Src.Tactics=<Src.Tactics>+(-1)
Src.Parrying=<Src.Parrying>+(-1)
Src.Swordsmanship=<Src.Swordsmanship>+(-1)
Src.Effect=3,i_fx_glow_spike,6,15,1
Src.Sfx snd_spell_strength

[Itemdef i_guard_sash]
Defname=i_guard_sash
Id=i_sash
Type=t_clothing
Name=Guardian's Body Sash
Weight=2
Reqstr=150

On=@Create
Color=0480
Hitpoints=150

On=@Equip
Src.Tactics=<Src.Tactics>+1
Src.Parrying=<Src.Parrying>+1
Src.Swordsmanship=<Src.Swordsmanship>+1
Src.Effect=3,i_fx_glow_spike,6,15,1
Src.Sfx snd_spell_strength

On=@Unequip
Src.Tactics=<Src.Tactics>+(-1)
Src.Parrying=<Src.Parrying>+(-1)
Src.Swordsmanship=<Src.Swordsmanship>+(-1)
Src.Effect=3,i_fx_glow_spike,6,15,1
Src.Sfx snd_spell_strength

[Itemdef i_guard_cloak]
Defname=i_guard_cloak
Id=i_cape
Type=t_clothing
Name=Guardian's Cloak
Weight=4
Reqstr=150

On=@Create
Color=0480
Hitpoints=150

On=@Equip
Src.Tactics=<Src.Tactics>+1
Src.Parrying=<Src.Parrying>+1
Src.Swordsmanship=<Src.Swordsmanship>+1
Src.Effect=3,i_fx_glow_spike,6,15,1
Src.Sfx snd_spell_strength

On=@Unequip
Src.Tactics=<Src.Tactics>+(-1)
Src.Parrying=<Src.Parrying>+(-1)
Src.Swordsmanship=<Src.Swordsmanship>+(-1)
Src.Effect=3,i_fx_glow_spike,6,15,1
Src.Sfx snd_spell_strength

[Chardef 100]
Defname=i_guard_steed
Id=c_horse_brown_dk
Sound=snd_animals_horse1
Icon=i_pet_horse_brown_dk
Name=Holy Steed
Dam={50 60}
Aarmor=50
Can=mt_run
Resources=1 i_hsteed_blood, 20 i_hsteed_hide, 125 i_ribs_raw

On=@Create
Color=0480
Npc=brain_monster
Str={400 500}
Dex={100 150}
Int={300 400}
Parrying=100.0
Magicresistance=100.0
Tactics=100.0
Wrestling=100.0
Karma={5000 7000}
Fame={8000 9000}

On=@NpcRestock
Item=loot_nightmare

[Itemdef i_hsteed_blood]
Defname i_hsteed_blood
Id=i_reag_dragon_blood
Type=t_reagent
Name=Holy Steed's Blood
Weight=0.2

On=@Create
Color=0480

[Itemdef i_hsteed_hide]
Defname i_hsteed_hide
Id=i_hide
Type=t_hide
Name=Holy Steed's Hide
Weight=1

On=@Create
Color=0480

[Eof]
Strafer
Как сделать что бы этот скрипт работал ? Я создал новый скрипт guards.scp Запихал это туда..Перезапустил сферу. А когда вызываю гвардов всё равно старые приходят...как сделать ???
Veter
надо гвардам отдельно прописать эту одежду
Strafer
Спасибо. Сам разобрался.
-=JoKeR=-
Вообще понту от этого скрипта ? =)
То что гвардам прибавится +1 скила с каждой части армора и +3 с оружия роли не играет =)
Veter
согласен ))
Это текстовая версия — только основной контент. Для просмотра полной версии этой страницы, пожалуйста, нажмите сюда.
Русская версия Invision Power Board © 2001-2024 Invision Power Services, Inc.