HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Item Requirements A Possibility?

11-21-2002, 12:26 AM#1
Guest
If you have an item, is it possible to set requirements in order to hold that item?

Ex. I dunno..

Sword of Justice

Must have str. 36 to wield

???
11-21-2002, 01:16 AM#2
BlacKDicK
.. don't think so...
11-21-2002, 01:18 AM#3
Trav
Well, lets see. Here's one way I can think of:

Set a real # array variable called Strength equal to your hero's starting strength. When said hero levels, add the amount of STR he/she gains per level. When the hero uses a STR tome, add 1 to Strength for hero manipulating item.

For the trigger relating to the item with the STR restriction:

Event - Hero acquires an item
Condition - Strength =< X
Action - Wait 0.2 seconds
- If Strength > X, then drop manipulated item else do nothing.
11-21-2002, 02:36 AM#4
weaaddar
Yes its very possible if your on our IRC channel I can send you dialog test II it demonstrates how to do it.
11-21-2002, 03:51 AM#5
Guest
weaaddar, your IRC Channel? How do I get there?