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

[svn] Fix hunter's frozen trap, half duration when pvp.
Use vector to store linked spell information to support multiple effects.

Original author: megamage
Date: 2008-11-03 17:20:35-06:00

Files:
1 modified

Legend:

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

    r155 r157  
    20882088        } 
    20892089 
    2090         SpellLinkedSpell linkedSpell; 
    2091         linkedSpell.spell = effect; 
    2092         linkedSpell.type = type; 
    2093         mSpellLinkedMap[trigger] = linkedSpell; 
     2090        if(type) //we will find a better way when more types are needed 
     2091            trigger += 1000000; 
     2092        mSpellLinkedMap[trigger].push_back(effect); 
    20942093 
    20952094        ++count;