Today a friend let me on her priest in order to get the holy symbol packet information. So I bring to you a working holy symbol.
First of all, Skills.cpp:
Now open Mobs.cpp and find a line similar to:Code:// Holy Symbol player.type = 0x1; player.byte = 4; player.value = SKILL_X; skillsinfo[2311003].player.push_back(player); // Priest skillsinfo[5101002].player.push_back(player); // Super GM
And replace it with:Code:Levels::giveEXP(player, mobinfo[mob->getMobID()].exp
In order for GM HS to work, you need to add an entry for it in the skills database. If you are using my SQL database, do the following:Code:float exprate = 1; // Account for Holy Symbol float hsrate = 0; if(player->skills->getActiveSkillLevel(2311003)>0){ hsrate = Skills::skills[2311003][player->skills->getActiveSkillLevel(2311003)].x; } else if(player->skills->getActiveSkillLevel(5101002)>0){ hsrate = Skills::skills[5101002][player->skills->getActiveSkillLevel(5101002)].x; } hsrate = hsrate/100; exprate = exprate+(exprate*hsrate); Levels::giveEXP(player, mobinfo[mob->getMobID()].exp * exprate);
If you're using the archaic XML crap, make your own XML as I do not supply them. :PCode:INSERT INTO skilldata (skillid, time, x) VALUES (5101002, 1800, 50);
You can change exprate to whatever you want it to be for your server. Personally, I have mine tiered dued to the nature of exp requirements so that people can level quickly at pretty much any level yet be able to breath between levels in the lower levels, but you can do as you will with it. Cheers. =]


![[Release] Holy Symbol[Updated again]](http://ragezone.com/hyper728.png)


