When you buy an item from a shop or a unit from a merc camp, it does not consume a charge. That is to say, I can buy 100 boots of speed in quick succession simply by having the necessary gold and clicking on it repeatedly, despite there being only one in stock. I don't have to wait for restock.
Seems to work just fine for player owned shops such as the Ancient of Wonders.
Also seems to only be a problem with the new updated dependencies, the pre-patch version worked fine.
There is of course also that known issue of merc camps not working unless you change the "select unit" ability to include allied.
I tried to fix this myself but can't seem to find a solution.
I'm experimenting with a trigger that looks like this to address the issue. You would figure that this would put a 120 second cooldown on purchasing dragons. This probably won't work, but it's worth a try. I have tried it with Generic3 - execute stage, but i'm not sure which stage parameter applies to this abilities 'finish' sequence. I honestly think renee2islga removed the 'shared unit' flag from select unit & disabled mercenary camps because the cooldowns on mercenaries stopped working.
Each unit that is sold by the shop must have its own 'sell' ability like the dragon roosts. "Sell' abilities cannot include more than 1 unit otherwise the other units sold by the shop all share the 120 second cooldown.
events
Unit - Any Unit uses Summon Red Dragon at Effect5 - Finish stage (Ignore shared abilities)
Unit - Any Unit uses Summon Red Drake at Effect5 - Finish stage (Ignore shared abilities)
Unit - Any Unit uses Summon Red Dragon Whelp at Effect5 - Finish stage (Ignore shared abilities)
Unit - Any Unit uses Summon Nether Dragon at Effect5 - Finish stage (Ignore shared abilities)
Unit - Any Unit uses Summon Nether Dragon Hatchling at Effect5 - Finish stage (Ignore shared abilities)
Unit - Any Unit uses Summon Nether Drake at Effect5 - Finish stage (Ignore shared abilities)
Unit - Any Unit uses Summon Green Dragon at Effect5 - Finish stage (Ignore shared abilities)
Unit - Any Unit uses Summon Green Dragon Whelp at Effect5 - Finish stage (Ignore shared abilities)
Unit - Any Unit uses Summon Green Drake at Effect5 - Finish stage (Ignore shared abilities)
Unit - Any Unit uses Summon Bronze Dragon at Effect5 - Finish stage (Ignore shared abilities)
Unit - Any Unit uses Summon Bronze Dragon Whelp at Effect5 - Finish stage (Ignore shared abilities)
Unit - Any Unit uses Summon Bronze Drake at Effect5 - Finish stage (Ignore shared abilities)
Actions:
Tech Tree - Disallow the (Triggering ability) ability for player (Triggering player)
General - Wait 120.0 Game Time seconds
Tech Tree - Allow the (Triggering ability) ability for player (Triggering player)
Yes, I can confirm it is fixed with the new version, I just updated all dependencies today. However, the bug was independently tested and confirmed for that old version which was up to date on my original post. Thank you for fixing it!
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
When you buy an item from a shop or a unit from a merc camp, it does not consume a charge. That is to say, I can buy 100 boots of speed in quick succession simply by having the necessary gold and clicking on it repeatedly, despite there being only one in stock. I don't have to wait for restock. Seems to work just fine for player owned shops such as the Ancient of Wonders. Also seems to only be a problem with the new updated dependencies, the pre-patch version worked fine.
There is of course also that known issue of merc camps not working unless you change the "select unit" ability to include allied.
I tried to fix this myself but can't seem to find a solution.
Would appreciate a fix, thanks.
@LeafyVegetable: Go
I'm experimenting with a trigger that looks like this to address the issue. You would figure that this would put a 120 second cooldown on purchasing dragons. This probably won't work, but it's worth a try. I have tried it with Generic3 - execute stage, but i'm not sure which stage parameter applies to this abilities 'finish' sequence. I honestly think renee2islga removed the 'shared unit' flag from select unit & disabled mercenary camps because the cooldowns on mercenaries stopped working. Each unit that is sold by the shop must have its own 'sell' ability like the dragon roosts. "Sell' abilities cannot include more than 1 unit otherwise the other units sold by the shop all share the 120 second cooldown.
events
Unit - Any Unit uses Summon Red Dragon at Effect5 - Finish stage (Ignore shared abilities)
Unit - Any Unit uses Summon Red Drake at Effect5 - Finish stage (Ignore shared abilities)
Unit - Any Unit uses Summon Red Dragon Whelp at Effect5 - Finish stage (Ignore shared abilities)
Unit - Any Unit uses Summon Nether Dragon at Effect5 - Finish stage (Ignore shared abilities)
Unit - Any Unit uses Summon Nether Dragon Hatchling at Effect5 - Finish stage (Ignore shared abilities)
Unit - Any Unit uses Summon Nether Drake at Effect5 - Finish stage (Ignore shared abilities)
Unit - Any Unit uses Summon Green Dragon at Effect5 - Finish stage (Ignore shared abilities)
Unit - Any Unit uses Summon Green Dragon Whelp at Effect5 - Finish stage (Ignore shared abilities)
Unit - Any Unit uses Summon Green Drake at Effect5 - Finish stage (Ignore shared abilities)
Unit - Any Unit uses Summon Bronze Dragon at Effect5 - Finish stage (Ignore shared abilities)
Unit - Any Unit uses Summon Bronze Dragon Whelp at Effect5 - Finish stage (Ignore shared abilities)
Unit - Any Unit uses Summon Bronze Drake at Effect5 - Finish stage (Ignore shared abilities)
Actions:
Tech Tree - Disallow the (Triggering ability) ability for player (Triggering player)
General - Wait 120.0 Game Time seconds
Tech Tree - Allow the (Triggering ability) ability for player (Triggering player)
Set charge location to "unit".
Hmmm I thought I fixed these things on item shops, but perhaps I forget to do them on merchants.
And yes, change charge location would work.
It make take same time for me to upload fixes though...
I'm currently not in a state which can freely use editors.
After the double-check, the Shop is indeed fixed already.
You may need to download the latest version of the mod.
Yes, I can confirm it is fixed with the new version, I just updated all dependencies today. However, the bug was independently tested and confirmed for that old version which was up to date on my original post. Thank you for fixing it!