All jobs widescan (retail).

Setting added to conf/map_darkstar.conf to enable/disable all jobs having widescan. Default is retail, alternate setting for playing like it's 2004!

The setting also attempts to set the radius tiers for bst and rng, data is based on what we had in traits.sql and wiki data.

Dummy trait removed - no longer needed. There is no trait data for widescan in client at all it was tacked onto resist slow until now.
Savagery merits were not being used in warcry script.

Also changed item ID check into a modifier. item_mods.sql data is from http://wiki.bluegartr.com/bg/Warcry
Fix the SQL for the Palborough Mines Elevator

Fixes long standing bug 952, which is a mission blocker:
http://bugs.dspt.info/show_bug.cgi?id=952

After much debugging, I was pretty sure it was trying to move the wrong NPC, but I didn't know how to fix that.

Apparently that was indeed the issue, and special thanks to forgottenandlost from the forums for responding to my debugging topic and showing me how to adjust the SQL.
Implement the WHM Boost Spells

These were easy and well documented on BGWiki

Formula: Boost Spell Potency = floor( (Enhancing Magic Skill - 300)÷10 ) + 5

Source:
http://wiki.bluegartr.com/bg/Category:Boost_Spell
http://wiki.bluegartr.com/bg/Boost-STR
http://wiki.bluegartr.com/bg/Boost-DEX
http://wiki.bluegartr.com/bg/Boost-VIT
http://wiki.bluegartr.com/bg/Boost-AGI
http://wiki.bluegartr.com/bg/Boost-INT
http://wiki.bluegartr.com/bg/Boost-MND
http://wiki.bluegartr.com/bg/Boost-CHR
Also add the RDM Gain Stat Spells

These are the same thing as the WHM Boost Spells, but the single target version for RDM
Scripts: Add Regen IV Script

Spell was already learnable and you could cast it, but it didn't do anything since it didn't have a script, so I added the script for it.
Scripts: Add scripts for Baramnesia & Baramnesra

These spells were already learnable but did not do anything since the did not have scripts, so I added scripts for them.

Modeled after our current bar-status spell scripts
SQL: Fix for default blob values.
CORE: Adjust the loading of bazaar messages to account for null entries.
Merge pull request #121 from starlightknight/baramnesia

Scripts: Add scripts for Baramnesia & Baramnesra
Merge pull request #120 from starlightknight/regen-iv

Scripts: Add Regen IV Script
Merge pull request #108 from TeoTwawki/widescan

All jobs widescan (retail).
Merge pull request #119 from starlightknight/palborough-mines-elevator-fix

Fix the SQL for the Palborough Mines Elevator (Fixes Bug 952)
Merge pull request #118 from TeoTwawki/misc

Savagery merits were not being used in warcry script. Also changed item ID check into a modifier. Editied item_mods.sql data is from http://wiki.bluegartr.com/bg/Warcry
Merge pull request #113 from starlightknight/whm-boost-spells

White Mage / Red Mage: Implement Stat Boost Spells
Job Traits: Add Tranquil Heart

Tranquil Heart is a Passive Job Trait for WHM/RDM/SCH. The trait reduces enmity gained from Cure by a calculation based our your healing skill.

WHM: 21 / RDM: 26 / SCH: 30

From what I read on BGWiki, it gains a tick every 10 healing magic skill points, capping out  at 25% at 500 healing magic skill. So in other words, every 10 healing magic points, it reduces enmity from cure by 0.5%

http://wiki.bluegartr.com/bg/Tranquil_Heart

Reduction % increases every 10 Healing Magic Skill and caps at -25% Enmity at 500 Skill.

Note: The info on BGWiki specifically says that the reduction step happens AFTER what is normally the final enmity calculation and cap check occurs, allowing the Tranquil Heart reduction to exceed the normal -50 Enmity limit.

To accomplish this, I had to refactor the Enmity functions a bit. I split UpdateEnmityFromCure into its own customized path of UpdateEnmity to accomplish this, but refactored a big repeatable chunk of UpdateEnmity into helper method CalculateEnmityBonus to reduce copy/paste.

I tested the bonus with WHM, RDM, and SCH, the 3 jobs it applies to. I also tested it with PLD, whom the bonus should NOT apply to (and it didn't!)

Things seem to be working correctly and when I debug log the Tranquil Heart Bonus it looks correct