Page 1 of 2

Text blocks, 1 item "activating" multiple items [Archive] - ForumsHQ

Posted: Sat Nov 01, 2003 1:17 pm
by Ldap
:hammer: Im trying to make a set of armor, say that a pendant will activate a cast spell on each piece of armor. How would i go about writing a text block for this? I dont want the same result if the person has the activating piece, but only gauntlets and boots.



Example.



a pendant will activate a spell which encreases special armor



gauntlets when activated adds x/x ac over the base ac

boots when activated adds x/x ac over the base ac

helmet when activated adds x/x ac over the base ac

leggings when activated add x/x ac over the base ac



Now im looking for if a character has only boots and gauntlets, when activated with the pendant, they will only receive the + bonuses for boots and gauntlets.



thanks :hammer:

Re: Text blocks, 1 item "activating" multiple items [Archive] - ForumsHQ

Posted: Sat Nov 01, 2003 1:48 pm
by War Hawk
checkitem (I think) is what you want. it will check to see if the user has the item before proceeding

Re: Text blocks, 1 item "activating" multiple items [Archive] - ForumsHQ

Posted: Sat Nov 01, 2003 2:31 pm
by Speed
That's a bad ass idea.

Re: Text blocks, 1 item "activating" multiple items [Archive] - ForumsHQ

Posted: Sat Nov 01, 2003 5:49 pm
by syntax53
checkitem (I think) is what you want. it will check to see if the user has the item before proceeding



nod. you would do:



checkitem :cast



item# would be your equipment and spell# would be the spell that adds whatever bonus for that piece of equipment.

Re: Text blocks, 1 item "activating" multiple items [Archive] - ForumsHQ

Posted: Sun Nov 02, 2003 9:09 pm
by Ldap
That's a bad ass idea.



hehe thanks

Re: Text blocks, 1 item "activating" multiple items [Archive] - ForumsHQ

Posted: Sun Nov 02, 2003 9:10 pm
by Ldap
I would like to make a spell, for when someones getting on your friggin nerves.

something that will push them unwillingly into the next room. lol :D

Re: Text blocks, 1 item "activating" multiple items [Archive] - ForumsHQ

Posted: Sun Nov 02, 2003 9:11 pm
by Ldap
nod. you would do:



checkitem :cast



item# would be your equipment and spell# would be the spell that adds whatever bonus for that piece of equipment.



Got it, thanks a ton

Re: Text blocks, 1 item "activating" multiple items [Archive] - ForumsHQ

Posted: Sun Nov 02, 2003 10:48 pm
by Ldap
Got it, thanks a ton



If i edit in new items in a different directory. When i copy the wccupda2.dat over will it create the items in my wg directory? or do i have to copy the items.dat over also? and what about new messages?

Re: Text blocks, 1 item "activating" multiple items [Archive] - ForumsHQ

Posted: Sun Nov 02, 2003 10:54 pm
by Ldap
If i edit in new items in a different directory. When i copy the wccupda2.dat over will it create the items in my wg directory? or do i have to copy the items.dat over also? and what about new messages?



also, for the items, do i have to give the amulet an amount of uses under the general section? and a recharge under abilities? I have it linked to the textblock already but when i try to use it it says there are no more uses in

Re: Text blocks, 1 item "activating" multiple items [Archive] - ForumsHQ

Posted: Sun Nov 02, 2003 11:22 pm
by War Hawk
try -1 in uses (I think thats unlimited)