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
My litle script for easy use typedef_equipitem
Author Message
Llirik
Journeyman
*

Posts: 116
Likes Given: 0
Likes Received: 10 in 8 posts
Joined: Feb 2015
Reputation: 0

UO Forum

Post: #1
My litle script for easy use typedef_equipitem
Put this to all events:

[events e_equipitem]
ON=@ItemClientTooltip
IF (<ACT.ISWEAPON>) || (<ACT.DEFNAME>==i_fishing_pole)

IF (<ACT.SKILL>==40)//Swordsmanship
SRC.ADDCLILOC 1061172 // or i.ADDCLILOC
ELSEIF (<ACT.SKILL>==41)//Macefighting
SRC.ADDCLILOC 1061173 // or i.ADDCLILOC
ELSEIF (<ACT.SKILL>==42)//Fencing
SRC.ADDCLILOC 1061174 // or i.ADDCLILOC
ELSEIF (<ACT.SKILL>==31)//Archery
SRC.ADDCLILOC 1061175 // or i.ADDCLILOC
ELSEIF (<ACT.SKILL>==57)//Throwing
SRC.ADDCLILOC 1112075
ENDIF

IF (<ACT.SPEED>)
SRC.ADDCLILOC 1061167,<ACT.SPEED> // or i.ADDCLILOC
ENDIF
IF (<EVAL <STRARG <ACT.RANGE>>> > 1)||(<EVAL <STREAT <ACT.RANGE>>> > 1)
IF (<EVAL <STREAT <ACT.RANGE>>> > <EVAL <STRARG <ACT.RANGE>>>)
SRC.ADDCLILOC 1061169,<EVAL <STREAT <ACT.RANGE>>> // or i.ADDCLILOC
ELSE
SRC.ADDCLILOC 1061169,<EVAL <ACT.RANGE>> // or i.ADDCLILOC
ENDIF
ENDIF


ENDIF

Like Sphere 56b
(This post was last modified: 04-08-2016 01:04 AM by Llirik.)
04-08-2016 01:02 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


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