View Single Post
  #6  
Old 08-30-2013, 08:41 AM
TheGsProds TheGsProds is offline
Approved Member
 
Join Date: Feb 2011
Posts: 17
Default

Quote:
Originally Posted by MattCaspermeyer View Post
Glad it worked for you!

You want the item to be able to be upgraded to another item after 300 victories?

Automatically?

If it is automatic then you need to study life_shield_1 through 4 as they automatically upgrade / downgrade based on a random value that increases / decreases based on where the item is (i.e. in your backpack versus wearing it). Essentially you increment the victory counter after a successful victory (After Fight Event), and once the victory exceeds the value a script is executed to automatically upgrade the item.

If you want to do it manually, create a use condition and then add an On Use event that upgrades the item after the use condition enables the item to be used.

Do you use the editor? Look at the life_shield_1 through 4 items in the editor to get a feel for an item that automatically upgrades itself after a condition. Also look at ancient_amulet and intellect_ring_1 for examples of items that allow them to be used after a certain number of victories. The editor is the easiest way to implement things with items when it comes to victories. Just note that adding new items to ITEMS.TXT requires a restart to allow the new items you've created a chance to generate during the new game creation.

If you have any more questions, feel free to ask!



/C\/C\
I do it manually but upgrading items it´s so hard to me. I would like to create an item that begins with -1 speed and morale to all units and after 300 victories it upgrades to a really great item but i don´t know how to do that.

Your explanations are really useful but I´m so ankward with PC operations.

Anyway, thank you so much for your time and your help.

Nice to talk to you
Reply With Quote