-- snipped previous message --
You could also add in a bonus for if someone kills a mob of higher level.
Something like:
if(GET_LEVEL(ch) < GET_LEVEL(npc))
exp_gain+=(GET_LEVEL(npc)-GET_LEVEL(ch))\2
and then if they are higher level:
if(GET_LEVEL(ch) > GET_LEVEL(npc)){
exp_gain=0;
send_to_char("You gain no exp for fighting weaker mobs.\r\n", ch);
}
I'm not sure if this code will work just like this but hey, it gives the
idea :)
-~=Brian=~-
*** Gooey RPG ***
http://gooey.hypermart.net
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Wanna Get Paid to Surf?
http://www.alladvantage.com/home.asp?refid=hok336
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+------------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
| http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
+------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 04/10/01 PDT