[8311] Prevent multiline fake messages in chat. Author: horogandris
--HG-- branch : trunk
This commit is contained in:
+7
-7
@@ -6457,13 +6457,6 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, AuraEffect* trigger
|
|||||||
{
|
{
|
||||||
switch(dummySpell->Id)
|
switch(dummySpell->Id)
|
||||||
{
|
{
|
||||||
// Shaman T8 Elemental 4P Bonus
|
|
||||||
case 64928:
|
|
||||||
{
|
|
||||||
basepoints0 = int32( triggerAmount * damage / 100 );
|
|
||||||
triggered_spell_id = 64930;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
// Improved fire nova totem
|
// Improved fire nova totem
|
||||||
case 16544:
|
case 16544:
|
||||||
{
|
{
|
||||||
@@ -6643,6 +6636,13 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, AuraEffect* trigger
|
|||||||
triggered_spell_id = 58879;
|
triggered_spell_id = 58879;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
// Shaman T8 Elemental 4P Bonus
|
||||||
|
case 64928:
|
||||||
|
{
|
||||||
|
basepoints0 = int32( triggerAmount * damage / 100 );
|
||||||
|
triggered_spell_id = 64930; // Electrified
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// Storm, Earth and Fire
|
// Storm, Earth and Fire
|
||||||
if (dummySpell->SpellIconID == 3063)
|
if (dummySpell->SpellIconID == 3063)
|
||||||
|
|||||||
+1
-1
@@ -131,7 +131,7 @@ Tokens StrSplit(const std::string &src, const std::string &sep)
|
|||||||
|
|
||||||
void stripLineInvisibleChars(std::string &str)
|
void stripLineInvisibleChars(std::string &str)
|
||||||
{
|
{
|
||||||
static std::string invChars = " \t\7";
|
static std::string invChars = " \t\7\n";
|
||||||
|
|
||||||
size_t wpos = 0;
|
size_t wpos = 0;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user