The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
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



Post: #4
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

[Image: htid.jpg]
09-26-2012 09:13 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Random Armour Generator - htid4life - 09-23-2012, 11:06 PM
RE: Random Armour Generator - Extreme - 09-24-2012, 12:19 AM
RE: Random Armour Generator - Skul - 09-24-2012, 12:42 AM
RE: Random Armour Generator - htid4life - 09-26-2012 09:13 PM
RE: Random Armour Generator - Mordaunt - 09-26-2012, 09:51 PM
RE: Random Armour Generator - htid4life - 09-26-2012, 09:53 PM
RE: Random Armour Generator - RanXerox - 09-26-2012, 11:54 PM
RE: Random Armour Generator - htid4life - 09-27-2012, 04:44 AM
RE: Random Armour Generator - Extreme - 10-02-2012, 11:57 PM
RE: Random Armour Generator - Soulless - 01-03-2013, 02:04 PM
RE: Random Armour Generator - htid4life - 01-04-2013, 02:57 AM

Forum Jump:


User(s) browsing this thread: 7 Guest(s)