Thread Rating:
- 0 Votes - 0 Average
- 1
- 2
- 3
- 4
- 5
Random Armour Generator
|
Author |
Message |
htid4life
Journeyman
Posts: 162
Likes Given: 27
Likes Received: 4 in 3 posts
Joined: Mar 2012
Reputation: 2
|
RE: Random Armour Generator
Hey Thanks for the replys but i got abit of a problem
When i create the armor it gives me random luck every time i drag and drop it meaning luck changes all time when i equip it
Code:
[ITEMDEF i_rare_legs]
TYPE=T_ARMOR
WEIGHT=7
ARMOR=5
REQSTR=50
CATEGORY=Anthony
SUBSECTION=Rare
DESCRIPTION=Legs
ON=@Create
MOREY=100.0
ATTR=attr_magic
HITPOINTS=300
EVENTS=t_modar
EVENTS=t_luck_item
local.rnd=<eval {1 1 2 1 3 1 4 1 5 1 6 1 7 1 8 1 9 1 10 1 11 1 12 1 13 1 14 1 15 1}>
if (<dlocal.rnd>==1)
name=Devil Legs
id=i_platemail_leggings
tag.devilarmor=1
type=t_armor
modar=12
color=0a93
tag.luck=40
elseif (<dlocal.rnd>==2)
name=Angel Legs
type=t_armor
tag.angelarmor=1
id=i_platemail_leggings
modar=12
color=080e
tag.luck={1 100}
elseif (<dlocal.rnd>==3)
name=Dragon legs
type=t_armor
tag.dragonarmor=1
id=i_platemail_leggings
modar=11
color=0b99
tag.luck={1 100}
elseif (<dlocal.rnd>==4)
name=Ettin legs
type=t_armor
tag.ettinarmor=1
id=i_platemail_leggings
modar=4
color=0a94
tag.luck={1 100}
elseif (<dlocal.rnd>==5)
name=Legs Of The Beast
type=t_armor
id=i_platemail_leggings
modar=1
color=047e
tag.luck={1 100}
elseif (<dlocal.rnd>==6)
name=Dark legs
type=t_armor
id=i_platemail_leggings
modar=3
color=0a6f
tag.luck={1 100}
elseif (<dlocal.rnd>==7)
name=Myter legs
type=t_armor
id=i_platemail_leggings
modar=1
color=0a75
tag.luck={1 100}
elseif (<dlocal.rnd>==8)
name=Mystic legs
type=t_armor
id=i_platemail_leggings
modar=2
color=0a35
tag.luck={1 100}
elseif (<dlocal.rnd>==9)
name=Xperian legs
type=t_armor
id=i_platemail_leggings
modar=3
color=0a23
tag.luck={1 100}
elseif (<dlocal.rnd>==10)
name=Dread legs
type=t_armor
id=i_platemail_leggings
modar=4
color=0818
tag.luck={1 100}
elseif (<dlocal.rnd>==11)
name=Balron legs
tag.balronarmor=1
type=t_armor
id=i_platemail_leggings
modar=5
color=0817
tag.luck={1 100}
elseif (<dlocal.rnd>==12)
name=Carbon legs
type=t_armor
id=i_platemail_leggings
modar=6
color=07
tag.luck={1 100}
elseif (<dlocal.rnd>==13)
name=Ruin legs
type=t_armor
id=i_platemail_leggings
modar=8
color=054b
tag.luck={1 100}
elseif (<dlocal.rnd>==14)
name=Power legs
type=t_armor
tag.powerarmor=1
id=i_platemail_leggings
modar=9
color=056b
tag.luck={1 100}
elseif (<dlocal.rnd>==15)
name=Vanq legs
type=t_armor
id=i_platemail_leggings
modar=15
tag.vanqlarmor=1
color=0813
tag.luck={100 180}
endif
update
|
|
09-26-2012 09:13 PM |
|
|
Messages In This Thread |
RE: Random Armour Generator - htid4life - 09-26-2012 09:13 PM
|
User(s) browsing this thread: 7 Guest(s)