DragonPrime - LoGD Resource Community
Welcome Guest
  • Good morning, Guest.
    Please log in, or register.
  • August 18, 2019, 11:16:31 AM
Home Forums News Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Resource Pages

Pages: [1]   Go Down
Author Topic: Wishing Well  (Read 3523 times)
0 Members and 1 Guest are viewing this topic.
« on: May 22, 2004, 10:06:18 PM »


this is my first mod so be nice to me =).
From an idea of a player I created a well in the village square where you can choose to throw a gold coin or a gem.
In both cases it will select a random number between 1 and 15 and check it against the level of the player. If the number is not the same then the gold coin gets added to the well or the gem gets added to the well and in this last case (gem) the user still gets 2 forest fights (you can change it in the well.php).
If the numbers are the same then the user receives all the gold in the well (if the user threw a gold coin) or all the gems in the well (if the user threw a gem). In this last case the user also receives 2 extra forest fights and a 10 round "wish granted buff".


feedback, comments are more than welcome!
« Reply #1 on: May 25, 2004, 06:25:04 PM »

Great mod!  Nice and simple also ... .I modified the script due to the fact that everytime someone won or lost the wish it would comment the news, caused much clutter.  I kept it there for when someone wins, just removed the losses.
Mod God
Offline Offline

Posts: 1916

View Profile WWW
« Reply #2 on: May 25, 2004, 08:27:48 PM »


« Reply #3 on: May 25, 2004, 09:45:00 PM »

Thank you
 I also removed the news on the non-win option.
Another thing I am thinking about changing is the amount of gold and gems that are re-set when someone wins. 10 gems seems to much. In my testing a friend of mine was able to win 67 gems!!! and if you think that by giving a gem to the well he gained 2 forest fights that would ahve given him at least 134 turns!!!!
So I am re-thinking the gem part and also the % of winning possibilities. 1:15 is too big...

I have retrieved the code from the shared files until I get this part done =)

again thank you for the compliments
Pages: [1]   Go Up
Jump to:  

DragonPrime Notices
Please take the time to read the FAQ and browse the DragonPedia

Support Us
No funds raised yet this year
Your help is greatly appreciated!
Recent Topics
DragonPrime LoGD
Who's Online
113 Guests, 0 Users
Home Forums News Downloads Login Register Advanced Search