這個patch就是用來修正這個問題
原帖地址:http://www.mangosproject.org/forum/index.php?showtopic=9957&st=0&gopid=71501entry71501
patch内容:
Copy code
index: Spell.h
===================================================================
--- Spell.h (revision 3356)
+++ Spell.h (working copy)
@@ -31,6 +31,8 @@
class Group;
class Aura;
+#define IS_AoEABLE(p) ((p)->getFaction() == 1 || (p)->getFaction() == 2 || (p)->getFaction() == 3 || (p)->getFaction() == 4 || (p)->getFaction() == 5 || (p)->getFaction() == 6 || (p)->getFaction() == 115 || (p)->getFaction() == 116)
+
enum SpellCastTargetFlags
{
/*TARGET_FLAG_NONE = 0x0000,
@@ -622,6 +624,9 @@
if (i_spell.m_caster->IsFriendlyTo( itr->second ))
continue;
+
+ if(!IS_AoEABLE(i_spell.m_caster) && !IS_AoEABLE((Unit*)(itr->second)))
+ continue;
switch(i_push_type)
{
沒有留言:
張貼留言