Scripts/Icecrown Citadel

* Minor corrections to Sister Svalna event
* Removed unneeded workarounds for Deathbringer Saurfang procs
* Changed GM check to use account level (makes no sense to check isGameMaster as that does not allow entering combat at all)
This commit is contained in:
Shauren
2011-10-08 17:39:03 +02:00
parent 0b243dfd9b
commit 72fc756bff
4 changed files with 31 additions and 28 deletions
-14
View File
@@ -8733,24 +8733,10 @@ bool Unit::HandleProcTriggerSpell(Unit* victim, uint32 damage, AuraEffect* trigg
if (!victim->HasAuraState(AURA_STATE_HEALTHLESS_35_PERCENT, procSpell, this))
return false;
break;
// Deathbringer Saurfang - Rune of Blood
case 72408:
// can proc only if target is marked with rune
// this should be handled by targetAuraSpell, but because 72408 is not passive
// one failed proc will remove the entire aura
if (!victim->HasAura(72410))
return false;
break;
// Deathbringer Saurfang - Blood Beast's Blood Link
case 72176:
basepoints0 = 3;
break;
// Deathbringer Saurfang - Mark of the Fallen Champion
case 72256:
// this should be handled by targetAuraSpell, but because 72408 is not passive
// one failed proc will remove the entire aura
CastSpell((Unit*)NULL, trigger_spell_id, true, NULL, triggeredByAura);
return true;
case 15337: // Improved Spirit Tap (Rank 1)
case 15338: // Improved Spirit Tap (Rank 2)
{
+1
View File
@@ -618,6 +618,7 @@ enum UnitFlags2
UNIT_FLAG2_DISARM_OFFHAND = 0x00000080,
UNIT_FLAG2_DISARM_RANGED = 0x00000400, // this does not disable ranged weapon display (maybe additional flag needed?)
UNIT_FLAG2_REGENERATE_POWER = 0x00000800,
UNIT_FLAG2_ALLOW_ENEMY_INTERACT = 0x00004000,
UNIT_FLAG2_ALLOW_CHEAT_SPELLS = 0x00040000, // allows casting spells with AttributesEx7 & SPELL_ATTR7_IS_CHEAT_SPELL
};