///////////// SCRIPT CREATED BY CO-AYDIN [MRNORMO] ////////////
///////////// LUTFEN BU BANNERI SILMEYIN ////////////////////////////
///////////// [email protected]	/////////////////////////////
///////////// www.sphereserver.net      ////////////////////////////////
////////////////////////////////////////////////////////////////////////////////

//Sunu sphere_skills.scpdeki appraise skiliinin altina koyun..
ON=@Success
src.sysmessage @0481 [Value : <eval <src.targ.value>*<src.targ.amount>>]IF (<src.itemid><500)
IF (<src.targ.color>=021)
SRC.SYSMESSAGE @0481 @0481 Bunu identfy etmek icin 50.0 skille ihtiyaciniz var.
RETURN 1
ENDIF
ELSE
IF !(<src.targ.tag0.newname>=0)
SRC.TARG.NAME <src.targ.tag0.newname>
SRC.FIX
SRC.SKILLGAIN ITEMID 50
ENDIF
ENDIF

[TYPEDEF t_magicalskillitem]
ON=@DCLICK
if (<attr>=01)
name <tag.newname>
equip
return 1
else
src.SYSMESSAGE @0481 Bunu kullanmak icin identfy etmelisiniz.
unequip
return 1
endif

ON=@EQUIP
if (<attr>=01)
name <tag.newname>
src.<SERV.SKILL.<MOREM>.NAME> = <src.<SERV.SKILL.<MOREM>.NAME>> + <more2>
else
return 1
endif

ON=@UNEQUIP
if (<attr>=01)
src.<SERV.SKILL.<MOREM>.NAME> = <src.<SERV.SKILL.<MOREM>.NAME>> + (-<more2>)
endif

///////////////////////////////// ITEMS ////////////////////////////////

[itemdef i_robe_magical]
ID=i_robe
NAME=Magical Robe
WEIGHT=3
ARMOR=2
VALUE=5000

ON=@CREATE
COLOR=021
HITPOINTS=&&#35123;1 6}
more2=<EVAL &&#35123;7.0 7 6.0 6 5.0 5 4.0 4 3.0 3 8.0 2 9.0 1}>
MOREM=<r0,54>
NAME=Magical Robe [<SERV.SKILL.<MOREM>.NAME>]
IF (<more2>==7.0)
NAME=<name> [+7]
elseIF (<more2>==6.0)
NAME=<name> [+6]
elseIF (<more2>==5.0)
NAME=<name> [+5]
elseIF (<more2>==4.0)
NAME=<name> [+4]
elseIF (<more2>==3.0)
NAME=<name> [+3]
elseIF (<more2>==8.0)
NAME=<name> [+8]
elseIF (<more2>==9.0)
NAME=<name> [+9]
ENDIF
TAG.NEWNAME=<name>
NAME=Magical Robe
TYPE=t_magicalskillitem

[itemdef i_cape_magical]
ID=i_cape
NAME=Magical Cape
WEIGHT=3
ARMOR=2
VALUE=5000

ON=@CREATE
COLOR=021
HITPOINTS=&&#35123;1 6}
more2=<EVAL &&#35123;7.0 7 6.0 6 5.0 5 4.0 4 3.0 3 8.0 2 9.0 1}>
MOREM=<r0,54>
NAME=Magical Cape [<SERV.SKILL.<MOREM>.NAME>]
IF (<more2>==7.0)
NAME=<name> [+7]
elseIF (<more2>==6.0)
NAME=<name> [+6]
elseIF (<more2>==5.0)
NAME=<name> [+5]
elseIF (<more2>==4.0)
NAME=<name> [+4]
elseIF (<more2>==3.0)
NAME=<name> [+3]
elseIF (<more2>==8.0)
NAME=<name> [+8]
elseIF (<more2>==9.0)
NAME=<name> [+9]
ENDIF
TAG.NEWNAME=<name>
NAME=Magical Cape
TYPE=t_magicalskillitem

[itemdef i_earrings_magical]
ID=i_earrings_gold
NAME=Magical Earrings
WEIGHT=3
VALUE=5000

ON=@CREATE
COLOR=021
more2=<EVAL &&#35123;7.0 7 6.0 6 5.0 5 4.0 4 3.0 3 8.0 2 9.0 1}>
MOREM=<r0,54>
NAME=Magical Earrings [<SERV.SKILL.<MOREM>.NAME>]
IF (<more2>==7.0)
NAME=<name> [+7]
elseIF (<more2>==6.0)
NAME=<name> [+6]
elseIF (<more2>==5.0)
NAME=<name> [+5]
elseIF (<more2>==4.0)
NAME=<name> [+4]
elseIF (<more2>==3.0)
NAME=<name> [+3]
elseIF (<more2>==8.0)
NAME=<name> [+8]
elseIF (<more2>==9.0)
NAME=<name> [+9]
ENDIF
TAG.NEWNAME=<name>
NAME=Magical Earrings
TYPE=t_magicalskillitem

[itemdef i_ring_magical]
ID=i_ring_gold
NAME=Magical Ring
WEIGHT=3
VALUE=5000

ON=@CREATE
COLOR=021
more2=<EVAL &&#35123;7.0 7 6.0 6 5.0 5 4.0 4 3.0 3 8.0 2 9.0 1}>
MOREM=<r0,54>
NAME=Magical Ring [<SERV.SKILL.<MOREM>.NAME>]

IF (<more2>==7.0)
NAME=<name> [+7]
elseIF (<more2>==6.0)
NAME=<name> [+6]
elseIF (<more2>==5.0)
NAME=<name> [+5]
elseIF (<more2>==4.0)
NAME=<name> [+4]
elseIF (<more2>==3.0)
NAME=<name> [+3]
elseIF (<more2>==8.0)
NAME=<name> [+8]
elseIF (<more2>==9.0)
NAME=<name> [+9]
ENDIF
TAG.NEWNAME=<name>
NAME=Magical Ring
TYPE=t_magicalskillitem

[itemdef i_necklace_magical]
ID=i_necklace_gold
NAME=Magical Necklace
WEIGHT=3
VALUE=5000

ON=@CREATE
COLOR=021
more2=<EVAL &&#35123;7.0 7 6.0 6 5.0 5 4.0 4 3.0 3 8.0 2 9.0 1}>
MOREM=<r0,54>
NAME=Magical Necklace [<SERV.SKILL.<MOREM>.NAME>]
IF (<more2>==7.0)
NAME=<name> [+7]
elseIF (<more2>==6.0)
NAME=<name> [+6]
elseIF (<more2>==5.0)
NAME=<name> [+5]
elseIF (<more2>==4.0)
NAME=<name> [+4]
elseIF (<more2>==3.0)
NAME=<name> [+3]
elseIF (<more2>==8.0)
NAME=<name> [+8]
elseIF (<more2>==9.0)
NAME=<name> [+9]
ENDIF
TAG.NEWNAME=<name>
NAME=Magical Necklace
TYPE=t_magicalskillitem

[itemdef i_bracelet_magical]
ID=i_bracelet_gold
NAME=Magical Bracelet
WEIGHT=3
VALUE=5000

ON=@CREATE
COLOR=021
more2=<EVAL &&#35123;7.0 7 6.0 6 5.0 5 4.0 4 3.0 3 8.0 2 9.0 1}>
MOREM=<r0,54>
NAME=Magical Necklace [<SERV.SKILL.<MOREM>.NAME>]
IF (<more2>==7.0)
NAME=<name> [+7]
elseIF (<more2>==6.0)
NAME=<name> [+6]
elseIF (<more2>==5.0)
NAME=<name> [+5]
elseIF (<more2>==4.0)
NAME=<name> [+4]
elseIF (<more2>==3.0)
NAME=<name> [+3]
elseIF (<more2>==8.0)
NAME=<name> [+8]
elseIF (<more2>==9.0)
NAME=<name> [+9]
ENDIF
TAG.NEWNAME=<name>
NAME=Magical Bracelet
TYPE=t_magicalskillitem

[TEMPLATE t_msi]
ITEM={ i_robe_magical 1 i_cape_magical 1 i_ring_magical 1 i_necklace_magical 1 i_earrings_magical 1 i_bracelet_magical 1 }

[/EOF]


Bu konu coaydin tarafından düzenlendi(2007-12-24 23:53, 16 yıl önce)
Silindi
Members
0
Reklam Var :no
reklam???
www.sphereserver.net mi?
verdiğin scriptleri code içine alsan daha güzel olacak [ c o d e ] [ / c o d e ] şeklinde.
ok code içine alıyorum. bilmiyordum kusura bakmayın...

Üye Ol veya Giriş Yap

Bu forum başlığına mesaj atmak istiyorsanız hemen üye olun veya giriş yapın.