| 01-14-2005, 08:04 PM | #1 |
Okay, so this is very hard trigger i need help with! crack this one and uh... ur my hero :D Okay, so it goes like this : Multiboard - Set the text for Haggle[1] item in column 9, row 3 to 65% of item buy cost! its small but sooo hard to crack! Edit: and its cracked! what i did was to set the items life to the same as the price and did this trigger : Code:
Multiboard - Set the text for Haggle[1] item in column 9, row 2 to (String(((Current life of (Item carried by Paladin 0001 <gen> in slot 1)) x (35.00 / 100.00)))) |
| 01-15-2005, 12:07 AM | #2 |
Did u do all alone? :D What do u mean by cracking a GUI Trigger? |
| 01-15-2005, 12:11 AM | #3 |
actually, u dont have 2 set the hp to its gold. You can check it by summoning a dummy shop and dummy hero, trying to sell the item to the hero for 1 gold, then for 2, then for 3 etc. Then when the item is really sold, thats the gold cost of your item ;) |
| 01-15-2005, 09:35 AM | #4 |
Guest | You can also give a player 1000000 gold, buy the item and look at the difference.. Much quicker. If you use your method, you better start around 1000, look if its under it or not. If so, try 500, elsewise 2000, etc.. Also quicker. Also do you know how to let Heroes buy items from shops with GUI? I figured it out a while ago in Jass, but I don't think it is possible in GUI. Maybe in WEU? Oh, and if you create a dummy shop with a Hero next to it, you have to wait around 2 seconds I believe before he can be selected. So, the function will be very slow. |
| 01-15-2005, 11:59 AM | #5 |
hmm, I guess so, never really tried it. But you know on a real shop u can click u and select your hero to make you able 2 buy items faster so I guess thats possible with triggers aswell. But you are right, your way is better, didnt even think of that ^_^ stupid me |
