Shaman, Druid, and Warrior now properly receive Arcane Torrent racials (Blood Elf)
Warlock, Druid, Rogue now properly receive the appropriate Heroic Presence, Gift of Naaru, and Shadow Resistance racials (Dranei)
Druid, Paladin, Priest now properly receive the appropriate Command and Blood Fury racials (Orc)
Detailed Explanation: Non-native-to-race classes did not have a conditional to receive racials with variants. For eg, a Blood Elf paladin that is trying to switch to the Orc racial would not receive Blood Fury because: 1. the target race (Orc) did not natively support the class (Paladin) and 2. certain racials had multiple variants (Blood Fury has a variant that increases AP, increases SP, or increases both, and the one learned depends on the class). Thus, because Orc Paladins is a not a native race-class combination, there was no conditional to give a Dranei or Blood Elf paladin Blood Fury.
Fixed Misaligned Dranei Racial (Shaman vs Warrior)
Shamans now properly receive the spellpower version of Gift of the Naaru and the Shaman version of Shadow Resistance
Warriors now properly receive the attackpower version of Gift of the Naaru and the Warrior version of Shadow Resistance
Detailed Explanation: Previously, warriors did not receive Gift of the Naaru or Shadow Resistance at all, and Shamans received the warrior's version of these two spells. These have now been corrected.
Functionalized Racial Removal
added all the racial unlearn scripts into 1 function that is repeatedly called, rather than having it hardcoded 10 times
Detailed Explanation: Non-native-to-race classes did not have a conditional to receive racials with variants. For eg, a Blood Elf paladin that is trying to switch to the Orc racial would not receive Blood Fury because: 1. the target race (Orc) did not natively support the class (Paladin) and 2. certain racials had multiple variants (Blood Fury has a variant that increases AP, increases SP, or increases both, and the one learned depends on the class). Thus, because Orc Paladins is a not a native race-class combination, there was no conditional to give a Dranei or Blood Elf paladin Blood Fury.
Detailed Explanation: Previously, warriors did not receive Gift of the Naaru or Shadow Resistance at all, and Shamans received the warrior's version of these two spells. These have now been corrected.