DragonPrime - LoGD Resource Community
Welcome Guest
  • Good morning, Guest.
    Please log in, or register.
  • July 17, 2019, 04:20:37 AM
Home Forums News Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Login
 
 
Resource Pages
Search

Pages: [1]   Go Down
  Print  
Author Topic: Merlins Magic Shoppe  (Read 3885 times)
0 Members and 1 Guest are viewing this topic.
robert
Old Dog
Moderator
Mod God
*****
Offline Offline

Posts: 1047


LoGD Buff!


View Profile WWW
« on: February 16, 2004, 08:54:09 AM »

Merlins Magic Shoppe - Merlin sells his knowledge of
magic to Green Dragon Slayers only. Pixie Dust is
included but cannot be purchased. It is an item that
only Fairies and Merlin know how to use, adds story
line and depth to the shoppe. The items are expensive
but what else do players have to spend their gold on. The magic Merlin sells is for 1 use and expires upon a new day.

Merlins Magic Shoppe:
http://dragonprime.net/users/robert/merlinsmagic097.zip

edit note: link updated Jan2005
« Last Edit: January 31, 2005, 02:28:19 PM by robert » Logged

robert
Old Dog
Moderator
Mod God
*****
Offline Offline

Posts: 1047


LoGD Buff!


View Profile WWW
« Reply #1 on: February 25, 2004, 02:44:46 PM »

I failed to mention in the first post:
Merlin sells his magic to dragon slayers only - WITH 2 dragon kills!
The shoppe is open to all players but the links to purchase magic is only revealed to those with more than 1 DK by default.

I did this to reward those that play and stay - with the curious rock that opens after 1 DK -  I made Merlin by default to be available for players after 2 DK.
Logged

BlackEdgeMine
Guest
« Reply #2 on: March 09, 2004, 02:35:51 PM »

Hi!  This looks fun, I think I'll be so bold as to add it to the site I'm working on.  One question though, (I'm a PHP noob) why do you write: "if ($session[user][gold]-=10000);" rather than just "$session[user][gold]-=10000;" ?

I modded this a little so it could take both gems and gold for costs, added some variables for easy changes, and fixed some apostrophes here and there (because I'm clearly crazy).

+BEM
« Last Edit: March 09, 2004, 03:47:35 PM by BlackEdgeMine » Logged
robert
Old Dog
Moderator
Mod God
*****
Offline Offline

Posts: 1047


LoGD Buff!


View Profile WWW
« Reply #3 on: March 12, 2004, 12:48:57 PM »

Oops! Looks like I originally uploaded the wrong version,
the version I use in our realm is now in the file share area,
I uploaded the newest version today - this one is the one I use on our site and has the correct php and also a debuglog.
This version v1.3 is realm friendly and can be used by ALL realms.

Merlins Magic Shoppe:
http://dragonprime.net/users/robert/merlinsmagic097.zip

edit note: link updated Jan2005 - same as above
« Last Edit: January 31, 2005, 02:30:20 PM by robert » Logged

Pages: [1]   Go Up
  Print  
 
Jump to:  


*
DragonPrime Notices
Version 1.1.2 is the current supported version and is available for download.

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