High Priestesses
Don't have access to all the source, but I have s classes.cpp and a few others... I was wondering, would anything like this work out? dunno if gender is based on 1/0 or male/female. Oh well guess I will mess around when I get home, was just a little feature that bugged me in eq. Lalala :rolleyes:
case CLERIC: if (level >= 60 && gender == 1) return "High Priestess"; else if (level >= 60 && gender == 0) return "High Priest"; else if (level >= 55) return "Templar"; else if (level >= 51) return "Vicar"; else return "Cleric"; |
0 = male, 1 = female:)
You would just need to change the function in classes.cpp, to tell it to read a 3rd parameter (gender), and you would be fine. |
if (level >= 60 && gender == 01) return "High Priestess"; else if (level >= 60 && gender == 00) return "High Priest"; Not that it matters here, but when you prefix a number in c/c++ with 0, the compiler treats it as an octal number. So if you wrote 010, it would be treated as 8. It doesn't matter here because 01 is still 1 and 00 is still 0. But just be forewarned :) (you probably won't do this on accident, but to represent numbers as hexadedimal, you prefix them with 0x, so 0xa is 10) |
yeah I was just saying in general :D I know all about the evil doings of Hex. ;) Hm I think I will do that when I get home from work today :p
|
Preistesses and Preists... good idea Baron. :)
|
Wiz needed some help on this so I added it last night, I kinda like it =)
|
Finished all the code, will post tonight or tomorrow morning :D For every class that has a male name... also did it for normal names if they needed it, yay :)
(yes I know it's minor and stupid, but I like it :p) |
yes I know it's minor and stupid, but I like it
It's those minor things that added together will make this EMU better than Verant's real server. Thanks for adding this! |
All times are GMT -4. The time now is 02:50 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.