Random Gold and Exp From Enemies!!

johnnyistheman

Veteran
Veteran
Joined
Mar 25, 2013
Messages
111
Reaction score
2
First Language
English
Primarily Uses
Greetings!

For those people who have been helping me on this forum in the past, I once again want to thank you guys and let you guys know you will all be credited in my game.

Now, back to the main issue:

Is there a script that allows random gold drops and exp from enemies?

I've been searching through the web and most of them are random items, chest, but NO random gold or exp.

Thanks!
 

Tsukihime

Veteran
Veteran
Joined
Jun 30, 2012
Messages
8,564
Reaction score
3,846
First Language
English
Last edited by a moderator:

johnnyistheman

Veteran
Veteran
Joined
Mar 25, 2013
Messages
111
Reaction score
2
First Language
English
Primarily Uses
Use formulas to set up random gold/exp

http://himeworks.wordpress.com/2013/06/13/enemy-gold-formulas/

http://himeworks.wordpress.com/2013/06/12/enemy-exp-formulas/

For example, you might have your slime give 10 gold and 5 exp, but then you can use these formula

<gold formula: rand(gold) + 1><exp formula: rand(exp) + 1>Which would then give you random gold between 1 and 10, and random exp between 1 and 5.
Thank you so much Tsukihime!!!

Simple and effective as with many of your other scripts!!!

Thanks again!!!
 
Last edited by a moderator:

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD

Forum statistics

Threads
105,868
Messages
1,017,070
Members
137,577
Latest member
SadaSoda
Top