Changeset 98 for trunk/src/game

Show
Ignore:
Timestamp:
11/19/08 13:35:21 (17 years ago)
Author:
yumileroy
Message:

[svn] Fix a bug that shaman's shield can stack.
Fix: MovementInform? without behavior change for waypoint movement. Patch provided by DragonHunter?.
Update gruul lair script. Patch provided by Blaymoira.

Original author: megamage
Date: 2008-10-22 09:41:31-05:00

Location:
trunk/src/game
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/game/SpellMgr.cpp

    r87 r98  
    10411041        if(spellInfo_1->SpellFamilyFlags == spellInfo_2->SpellFamilyFlags) 
    10421042            return true; 
     1043        if(spellInfo_1->SpellFamilyName == SPELLFAMILY_SHAMAN) 
     1044            if(IsElementalShield(spellInfo_1) && IsElementalShield(spellInfo_2)) 
     1045                return true; 
    10431046        //Corruption & Seed of corruption 
    10441047        if(spellInfo_1->SpellFamilyName == SPELLFAMILY_WARLOCK) 
  • trunk/src/game/WaypointMovementGenerator.cpp

    r44 r98  
    166166                        creature.Say(behavior->text[0].c_str(), 0, 0); 
    167167                } 
    168  
    169                 i_hasDone[idx] = true; 
    170                 MovementInform(creature); 
    171168            }                                               // wpBehaviour found 
     169            i_hasDone[idx] = true; 
     170            MovementInform(creature); 
    172171        }                                                   // HasDone == false 
    173172    }                                                       // i_creature.IsStopped()