Items within items?

junz13

New Member
Reaction score
1
I just saw this map which had a shop with an item containing various items inside? Can anyone give me the trigger for this??? It didn't have a price so it must've been a spellbook
 

Pharaoh_

The epic journey will soon begin... Prepare!
Reaction score
136
It's not a trigger, it is a normal building of type "Arcane Vault" and you will have to change the items sold in the Object Editor.
 

Pharaoh_

The epic journey will soon begin... Prepare!
Reaction score
136
Ah sorry, didn't check that right. Well, the only thing i can come up with is the Spell Book item, that has the abilities called like Item Names and the icons were from items as well and it gives different auras to the unit, like bearing all those items instead. How exactly it was?
 

CysticCraze

New Member
Reaction score
12
I think he means like

Shop sells: Med-Pack
Med pack is actually a spellbook which contains health potion mana potion and restore all potion. Upon using the item in the spellbook the icon either disapears, or a trigger adds the item to your inventory and then the icon disapears. Either way it just seems like spells that use triggers to give u an item.
 

junz13

New Member
Reaction score
1
Ah sorry, didn't check that right. Well, the only thing i can come up with is the Spell Book item, that has the abilities called like Item Names and the icons were from items as well and it gives different auras to the unit, like bearing all those items instead. How exactly it was?

Umm... actually the item contained real items.. when you click the "Spell book item" it shows various items and clicking on the items inside the "Spell book item" means that you have purchased that item and it instantly goes to your inventory....
 

junz13

New Member
Reaction score
1
I think he means like

Shop sells: Med-Pack
Med pack is actually a spellbook which contains health potion mana potion and restore all potion. Upon using the item in the spellbook the icon either disapears, or a trigger adds the item to your inventory and then the icon disapears. Either way it just seems like spells that use triggers to give u an item.

Do you know the trigger for that? If so please post it...
 

CysticCraze

New Member
Reaction score
12
IDk im not a big trigger guy but it should be like,
triggering unit casts - BLECH
triggering unit is givin item "X"
or somethign of the rather, ask someone who really knows :) Im a bad influence
 

junz13

New Member
Reaction score
1
Well could someone at least tell me how to add a spellbook to a shop? I need at least 20 spellbooks in 1 shop
 

Kiddo

New Member
Reaction score
12
Well could someone at least tell me how to add a spellbook to a shop? I need at least 20 spellbooks in 1 shop

20 spellbooks in a 12 spot shop, from which one would be "Select User" (the blue circling arrows) if it has shop share? ... That's gonna be interesting to see.

Anyway, Andrew explained the creation/using of Spellbooks here pretty well. You might want to take a look.

Kiddo.
 

junz13

New Member
Reaction score
1
Ok then... at least 8 spellbooks :D... Does anyone know? how i can place Spellbooks in Shops??? Thx in advance! @Kiddo the link doesn't say anything about spellbooks in shops :(
 

Pharaoh_

The epic journey will soon begin... Prepare!
Reaction score
136
Ok, got it.
Create abilities based on Ability "Spell book". On each Spell book ability give a name of the item category it will contain, like "Potions"/ "Armors". Create all the items you want. Create all the items in abilities as well and place them in the right Spell Book.
Example: You want to make a Mana potion.
Create one item, called Mana Potion and modify it properly to give the effect you want.
Also, go to Abilities and Create an ability based on Channel, with "Target Type: No target (Instant)" value, "Options: Visible" and "Disables other abilities, False". Rename the ability into Mana Potion. Go in your spellbook ability and go where it says "Data - Spell List" and add this new ability. Also, don't forget to change the field "Maximum Spells Used" to the amount of abilities you will implement in yout spellbook. Now, make a trigger. A unit starts the effect of an ability. Ability being cast Equal to Mana Potion, Hero - Create Mana Potion and give it to hero. Set Property of Player 1 (Red) to (Property - X gold (this is the "gold cost" of the item)).
In this way you will do the rest of the items, it will just take up some time. Do not forget to add to the Shop inital mana amount and maximum amount. Set all of the spells' mana cost, that the shop will use, to 0.
 

junz13

New Member
Reaction score
1
Thanx so much Pharaoh_... now all i need is the Spellbook in Shops thingy...:D
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top