Здравствуйте, гость ( Вход | Регистрация )

 
Ответить в эту темуОткрыть новую тему
> Guardian's Items, Простой скрипт на броню и веши.
Savagev
сообщение 29.5.2005, 18:48
Сообщение #1


***

Novice
Сообщений: 57
Регистрация: 29.5.2005
Группа: Пользователи
Наличность: 0
Из: Израиль
Пользователь №: 3.748



Скрипт писал просто так, от нечиго делать.
Скрипт под сферу 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]


--------------------
С уважением, Savagev

Soldat | www.soldat2d.ru
Dragon World | www.drw.ru
SoftPortal | www.softportal.com
Пользователь в офлайнеDelete PostОтправить личное сообщение
Вернуться в начало страницы
+Ответить с цитированием данного сообщения
Strafer
сообщение 8.7.2008, 2:05
Сообщение #2


*

Registred
Сообщений: 8
Регистрация: 8.7.2008
Группа: Пользователи
Наличность: 0
Пользователь №: 10.900
Возраст: 21



Как сделать что бы этот скрипт работал ? Я создал новый скрипт guards.scp Запихал это туда..Перезапустил сферу. А когда вызываю гвардов всё равно старые приходят...как сделать ???
Пользователь в офлайнеDelete PostОтправить личное сообщение
Вернуться в начало страницы
+Ответить с цитированием данного сообщения
Veter
сообщение 8.7.2008, 2:17
Сообщение #3


******

Creative
Сообщений: 688
Регистрация: 16.9.2004
Группа: Пользователи
Наличность: 0
Из: Латвия
Пользователь №: 2.279
Возраст: 26



надо гвардам отдельно прописать эту одежду


--------------------
Jericho PVP - Уже открылись
Пользователь в офлайнеDelete PostОтправить личное сообщение
Вернуться в начало страницы
+Ответить с цитированием данного сообщения
Strafer
сообщение 8.7.2008, 2:24
Сообщение #4


*

Registred
Сообщений: 8
Регистрация: 8.7.2008
Группа: Пользователи
Наличность: 0
Пользователь №: 10.900
Возраст: 21



Спасибо. Сам разобрался.
Пользователь в офлайнеDelete PostОтправить личное сообщение
Вернуться в начало страницы
+Ответить с цитированием данного сообщения
-=JoKeR=-
сообщение 8.7.2008, 19:57
Сообщение #5


******

Expert
Сообщений: 518
Регистрация: 2.10.2007
Группа: Пользователи
Наличность: 0
Из: Ode$$a
Пользователь №: 10.169



Вообще понту от этого скрипта ? =)
То что гвардам прибавится +1 скила с каждой части армора и +3 с оружия роли не играет =)


--------------------
[Best Players Guild]
Forest Wars Shard
Пользователь в офлайнеDelete PostОтправить личное сообщение
Вернуться в начало страницы
+Ответить с цитированием данного сообщения
Veter
сообщение 11.7.2008, 1:09
Сообщение #6


******

Creative
Сообщений: 688
Регистрация: 16.9.2004
Группа: Пользователи
Наличность: 0
Из: Латвия
Пользователь №: 2.279
Возраст: 26



согласен ))


--------------------
Jericho PVP - Уже открылись
Пользователь в офлайнеDelete PostОтправить личное сообщение
Вернуться в начало страницы
+Ответить с цитированием данного сообщения

Ответить в эту темуОткрыть новую тему
1 чел. читают эту тему (гостей: 1, скрытых пользователей: 0)
Пользователей: 0

 

- Текстовая версия | Версия для КПК Сейчас: 28.4.2024, 1:05
Designed by Nickostyle