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

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

Hi,

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".

http://dragonprime.cawsquad.net/users/DJL/wishingwell97jt.zip

feedback, comments are more than welcome!
Logged
DeThroned
Guest
« 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.
Logged
sixf00t4
Mod God
*****
Offline Offline

Posts: 1916



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

umm....
Logged

DJL
Guest
« 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
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  


*
DragonPrime Notices
Welcome to DragonPrime - The LoGD Resource Community!

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