DragonPrime - LoGD Resource Community

Modules, Themes and other customizations for your game => Completed Modules for version 1.x.x => Topic started by: MarcTheSlayer on August 24, 2010, 01:23:37 PM



Title: DK Stats Reset v0.0.2
Post by: MarcTheSlayer on August 24, 2010, 01:23:37 PM
DK Stats Reset v0.0.2

This module will allow certain fields to be left alone instead of being reset after a dragon kill. The same as the module 'persistrace' by White Knight to stop the race from resetting, but expanded upon.

Certain fields I have left out because I believe they shouldn't be messed with, others get reset anyway so there was no point including them (gold/gems/hitpoints/maxhitpoints).

Fields I have included are as follows,
Code:
race
specialty
hashorse
goldinbank
companions
charm
weapon
armor
defense
attack
weaponvalue
armorvalue
weapondmg
armordef
soulpoints
gravefights
deathpower
resurrections

If you so desire, you can add more very easily. Do so at your own risk though as you risk ruining the challenges of the game.

Update
15/06/11 - v0.0.2
+ Had $key instead of $name so didn't work. :(


Feedback, questions, bugs, welcome. :)

Zip file attached.


Title: Re: DK Stats Reset v0.0.1
Post by: JollyGG on August 24, 2010, 02:07:21 PM
Normall;y I latch onto your modules like fat kids to cupcakes :P But I'll pass on this one, We're trying to teach people on our new Revamped Hogwarts Now that you can't have everything in life so easy, lol


Title: Re: DK Stats Reset v0.0.1
Post by: MarcTheSlayer on August 24, 2010, 02:10:02 PM
Yeah it's not a module I'd use myself on Lo6, but it's there if anyone needs to stop a field being reset other than race. :)


Title: Re: DK Stats Reset v0.0.2
Post by: TGTarheel on November 24, 2018, 09:20:09 PM
Considering it only because I want people to be able to keep a small amount of gold in the bank...the main reason for this is so that pets do not run away from neglect just because you got creamed and lost all your gold.I will want to modify it to allow for a minimum amount of gold to be kept based on DK levels, too.
After all, more DK's should come with some rewards.

© 2018 DragonPrime - LoGD Resource Community
Email Talisman: talisman -at- gmail.com
&oeXs)2U7=V BmܲV.U e=;p\}eG )Jj} C5EH7ˤH=j } mo|*Ŋw{drV_@IV>/- TFQJ׀̀Ve}l1,V O iNYx͘$e$;
Forums: Powered by SMF 1.1.21 | SMF © 2006-2007, Simple Machines