Merge branch 'master' into base_data

This commit is contained in:
KimLS
2013-10-21 16:42:32 -07:00
7 changed files with 54 additions and 1 deletions
+1
View File
@@ -294,6 +294,7 @@ RULE_INT ( Spells, DeathSaveCharismaMod, 3) //Determines how much charisma effec
RULE_INT ( Spells, DivineInterventionHeal, 8000) //Divine intervention heal amount.
RULE_BOOL ( Spells, AdditiveBonusValues, false) //Allow certain bonuses to be calculated by adding together the value from each item, instead of taking the highest value. (ie Add together all Cleave Effects)
RULE_BOOL ( Spells, UseCHAScribeHack, false) //ScribeSpells and TrainDiscs quest functions will ignore entries where field 12 is CHA. What's the best way to do this?
RULE_BOOL ( Spells, BuffLevelRestrictions, true) //Buffs will not land on low level toons like live
RULE_CATEGORY_END()
RULE_CATEGORY( Combat )
+2 -1
View File
@@ -496,7 +496,8 @@ int GetMinLevel(uint16 spell_id) {
//if we can't cast the spell return 0
//just so it wont screw up calculations used in other areas of the code
if(min == 255)
//seen 127, 254, 255
if(min >= 127)
return 0;
else
return(min);