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: 103
Likes Given: 0
Likes Received: 10 in 8 posts
Joined: Feb 2015
Reputation: 0



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)

This forum uses Lukasz Tkacz MyBB addons.