View Single Post
  #5  
Old 05-10-2011, 10:31 PM
Rejuvenation Rejuvenation is offline
Kobold

Rejuvenation's Avatar

Join Date: Aug 2010
Posts: 195
Default

Code:
if (conlevel != 0xFF && !resexp) {
                                switch (conlevel)
                                {
                                        case CON_GREEN:
                                                add_exp = 0;
                                                add_aaxp = 0;
                                                return;
                                        case CON_LIGHTBLUE:
                                                        add_exp = add_exp * RuleI(Character, LightBlueModifier)/100;
                                                        add_aaxp = add_aaxp * RuleI(Character, LightBlueModifier)/100;
                                                break;
                                        case CON_BLUE:
                                                        add_exp = add_exp * RuleI(Character, BlueModifier)/100;
                                                        add_aaxp = add_aaxp * RuleI(Character, BlueModifier)/100;
                                                break;
                                        case CON_WHITE:
                                                        add_exp = add_exp * RuleI(Character, WhiteModifier)/100;
                                                        add_aaxp = add_aaxp * RuleI(Character, WhiteModifier)/100;
                                                break;
                                        case CON_YELLOW:
                                                        add_exp = add_exp * RuleI(Character, YellowModifier)/100;
                                                        add_aaxp = add_aaxp * RuleI(Character, YellowModifier)/100;
                                                break;
                                        case CON_RED:
                                                        add_exp = add_exp * RuleI(Character, RedModifier)/100;
                                                        add_aaxp = add_aaxp * RuleI(Character, RedModifier)/100;
                                                break;
                                }
                        }
This is from the open source ProjectEmu code page. If the server is based off of this code, then it looks like exp is only dependent upon mob con level. That being said, tons of stuff is different on this server, and I of course havn't seen the code so I wouldn't know if they have implemented exp gain differently.
__________________