DragonPrime - LoGD Resource Community
Welcome Guest
  • Good afternoon, Guest.
    Please log in, or register.
  • May 26, 2019, 12:06:08 PM
Home Forums News Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Login
 
 
Resource Pages
Search

Pages: [1]   Go Down
  Print  
Author Topic: Melagos the Smith  (Read 6377 times)
0 Members and 1 Guest are viewing this topic.
Sichae
iMod God
SVN Users
Mod God
*
Offline Offline

Posts: 3458


If ya didn't get it by now... you're hopeless...


View Profile WWW
« on: September 26, 2004, 09:29:34 AM »

Basically, a Smythe that is permanent to the city. The Gold Cost and Gem Cost are affixed to the User's level. Only 4 times allowed per DK.

Hope you enjoy!

http://dragonprime.net/index.php?module=Downloads;sa=dlview;id=25
« Last Edit: July 07, 2006, 02:24:02 PM by Sichae » Logged

If you didn't understand anything in the above post, don't try to attempt anything suggested.

Jim
Guest
« Reply #1 on: September 29, 2004, 06:08:38 AM »

Any way to change the cost?
Logged
Sichae
iMod God
SVN Users
Mod God
*
Offline Offline

Posts: 3458


If ya didn't get it by now... you're hopeless...


View Profile WWW
« Reply #2 on: September 29, 2004, 03:36:44 PM »

Okay, now in the Game Settings (Where of course you can change the settings for the module) there should be a tab for Melagos the Smith. In there, you can choose a multiplier for the gold and an addition for the gem.

http://dragonprime.net/index.php?module=Downloads;sa=dlview;id=25
« Last Edit: July 07, 2006, 02:24:11 PM by Sichae » Logged

If you didn't understand anything in the above post, don't try to attempt anything suggested.

Sichae
iMod God
SVN Users
Mod God
*
Offline Offline

Posts: 3458


If ya didn't get it by now... you're hopeless...


View Profile WWW
« Reply #3 on: October 02, 2004, 11:51:05 AM »

Newly Updated!

Closest to Transalation Compatability that I can bring it.

Have Fun!
Logged

If you didn't understand anything in the above post, don't try to attempt anything suggested.

HADES-HL
Guest
« Reply #4 on: October 04, 2004, 12:35:59 PM »

line 138:
Code:
      $session['user']['attack']+=1;
      //Note: This does increase the Weapon Damage and not Attack. Makes it so the upgrade goes away if the user gets a new weapon. But, the log is still kept in Melagos' ledger, so it doesnt decrease the upgrade count
In fact it DO increase the Attack and not the waepondamage, you have to add:
Code:
$session['user']['weapondmg']+=1;

Same for the Armor.
Logged
Sichae
iMod God
SVN Users
Mod God
*
Offline Offline

Posts: 3458


If ya didn't get it by now... you're hopeless...


View Profile WWW
« Reply #5 on: October 04, 2004, 03:02:52 PM »

:blushes:

I forgot to switch over the text in that area. The strange thing is, when I change over the "weapondmg" it didn't actually increase the user's attack...

Uploaded with both weapondmg and attack+1;
Same as Armor increased...

http://dragonprime.net/index.php?module=Downloads;sa=dlview;id=25
« Last Edit: July 07, 2006, 02:24:21 PM by Sichae » Logged

If you didn't understand anything in the above post, don't try to attempt anything suggested.

Kendaer
Guest
« Reply #6 on: October 04, 2004, 04:43:22 PM »

That's because you didn't understand what 'attack' is.

From the text on the user editor page

Quote
Attack (includes weapon damage)

What this means is that the $session['user']['attack'] value has the weapondmg added into it.
This means that if you want to increase (or decrease) a players weapon damage you also need to change the attack score in the same way.  The reason the weapon damage is stored seperately is to make it easier when upgrading/selling a weapon to recompute the new attack score.

newattack = oldattack-currentweapondmg+newweapondmg;

If you update the weapondmg but not the attack when they sell the weapon they would mess up their base attack value.

Hope this makes sense now?

Armordef and defense work the same way!

Logged
Sichae
iMod God
SVN Users
Mod God
*
Offline Offline

Posts: 3458


If ya didn't get it by now... you're hopeless...


View Profile WWW
« Reply #7 on: October 04, 2004, 04:50:36 PM »

It makes a whole bunch of sense Smiley

When I first wrote it all out, it did include both, but for some odd reason I took one or the other out when I put it up on DP.

Thanks.

Stupid Commas, fixed error and put back up on DP. Same Link!
« Last Edit: October 04, 2004, 05:00:07 PM by Sichae » Logged

If you didn't understand anything in the above post, don't try to attempt anything suggested.

Sichae
iMod God
SVN Users
Mod God
*
Offline Offline

Posts: 3458


If ya didn't get it by now... you're hopeless...


View Profile WWW
« Reply #8 on: January 11, 2005, 08:10:15 PM »

Blast from the Past!!!

Version 1.3 Updated!

Cleaned up Text, Cleaned up some of the Weapon Parts ^.^

Same Link
Logged

If you didn't understand anything in the above post, don't try to attempt anything suggested.

Sichae
iMod God
SVN Users
Mod God
*
Offline Offline

Posts: 3458


If ya didn't get it by now... you're hopeless...


View Profile WWW
« Reply #9 on: January 12, 2005, 11:07:32 PM »

Version 1.4 Release!

Revamped the entire system. Only allows you to upgrade armor and weapon once each.

Now just a Gem Cost.

Same Link
Logged

If you didn't understand anything in the above post, don't try to attempt anything suggested.

sixf00t4
Mod God
*****
Offline Offline

Posts: 1916



View Profile WWW
« Reply #10 on: March 02, 2005, 03:43:50 PM »

just a confusing textual fix...

displays the cost and melagos asks if they "Still want yer gull dern re-forge"  even if they don't have the navs to.
Logged

Sichae
iMod God
SVN Users
Mod God
*
Offline Offline

Posts: 3458


If ya didn't get it by now... you're hopeless...


View Profile WWW
« Reply #11 on: March 02, 2005, 04:04:40 PM »

just a confusing textual fix...

displays the cost and melagos asks if they "Still want yer gull dern re-forge"  even if they don't have the navs to.

That is what Version 1.41 is for! hehe

Took out an elseif, and moved it into the opening text. If you have both done, then it will display a text, that was hidden in the script. ^_^

A small text fix as well.

Same Link
Logged

If you didn't understand anything in the above post, don't try to attempt anything suggested.

Pages: [1]   Go Up
  Print  
 
Jump to:  


*
DragonPrime Notices
Play LoGD on Dragonprime

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