dunnetott
Apprentice
Posts: 24
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Feb 2016
Reputation: 0
|
RE: Checking for spell casting
Code:
[ITEMDEF 013bb]
DEFNAME=i_chainmail_coif
TYPE=T_ARMOR
RESOURCES=10 i_ingot_iron
SKILLMAKE=BLACKSMITHING 14.5
TDATA3=4
WEIGHT=7
FLIP=1
ARMOR=23
REQSTR=20
CATEGORY=Provisions - Armor
SUBSECTION=Chainmail Armor
DESCRIPTION=Chainmail Coif
DUPELIST=013c0
and i put this under the skillclass
Code:
ON=@ItemEquipTest
IF (<SRC.TDATA3>==4)
SRC.SYSMESSAGE You can't equip this armor.
RETURN 1
ENDIF
and i get a console output
Can't resolve <SRC.TDATA3>
Undefined symbol
(This post was last modified: 02-16-2016 10:31 PM by dunnetott.)
|
|
02-16-2016 10:13 PM |
|
|