![]() |
#6
|
|||
|
|||
![]()
Thanks for the information, bucazaurus.
I think there may be a mistake with your assumption though, but then I'm also making assumptions. It would help if someone more experienced with this code could step in to clarify a few things. Quote:
I spent yesterday testing and trying different values, but I think I've found a balance. addon_pet.lua definitely alters the chests dug up by the dragon's "treasure searcher" ability, but does not affect chests that already appear on the battlefield when you begin sometimes. These "pre-existing" chests are modified by boxes.lua that I was working with before it seems. I tested this by, again, setting the "items" chance to 100%, then found a battle with a chest in it. Without my modification, it yielded some gold. After I added the modified file, it instead gave me a "silver rapier" sword. I restarted the battle a few times and it always gave me that one sword. I have not found the file that modifies the chests that are scattered about the world/adventure map, but I think this is OK because I'm not looking to change those. The chests on the world map are almost always guarded by armies, and those actually make sense to have a lot of gold, since they're being protected. With that, I went ahead and modified all the "battlefield" chests to give what I feel is a better representation of what these chests should have, while trying not to affect the balance too much. Still, this is a deviation from vanilla, so there WILL be a change in game balance regardless. From a previous post on these forums, Quote:
Quote:
The chances are increased quite a bit in some cases, but my reasoning is as follows: Lower chance of gold means you no longer assume every chest will be gold anyway and stop trying to dig for them (when you have 1mil gold, getting more gold is kind of annoying) but when it does come up with gold, it should be a decent amount. This also means the gold-filled chests scattered around the map are much more valuable. The next logical thing to hoarde in a chest besides gold, are jewels; in this case, magic crystals and runes. I'm still working out the best numbers for them, but as it's a buried treasure chest, I felt it should be a little more than what you can find lying around on the map in the open. The battlefield chests have more runes (and I may give it more crystals and lower the dragon's chest's crystals instead) because those are random and you cannot dig for them or force them to appear, so there should be a bigger incentive to rush for them. After that, the wanderer scrolls are more valuable than regular spell scrolls, so I increased their chances slightly. I may eventually copy the code in to randomize the runes you get from 2-4 or 5 maybe, but I'm still testing everything right now. Sorry for the lengthy rant, but thanks again for helping me out; I appreciate it. I've attached what I have so far. If anyone tries it out, please let me know what you think. I'm too new to the game to tell what unforeseen consequences this could have. Thanks! |
|
|