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

Ldap

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

Post 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:
War Hawk
Posts: 1013
Joined: Thu Mar 07, 2002 6:00 am

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

Post by War Hawk »

checkitem (I think) is what you want. it will check to see if the user has the item before proceeding
Speed
Posts: 3660
Joined: Sun Jan 13, 2002 6:00 am

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

Post by Speed »

That's a bad ass idea.
syntax53
Posts: 2549
Joined: Wed Apr 03, 2002 6:00 am

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

Post 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.
Ldap

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

Post by Ldap »

That's a bad ass idea.



hehe thanks
Ldap

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

Post 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
Ldap

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

Post 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
Ldap

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

Post 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?
Ldap

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

Post 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
War Hawk
Posts: 1013
Joined: Thu Mar 07, 2002 6:00 am

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

Post by War Hawk »

try -1 in uses (I think thats unlimited)
Post Reply

Return to “Nightmare Redux”