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

[svn] * Added ACE for Linux and Windows (Thanks Derex for Linux part and partial Windows part)
* Updated to 6721 and 676
* Fixed TrinityScript? logo
* Version updated to 0.2.6721.676

Original author: Neo2003
Date: 2008-10-04 06:17:19-05:00

Files:
1 modified

Legend:

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

    r2 r6  
    7979    &Spell::EffectUnused,                                   // 21 SPELL_EFFECT_EVADE                    one spell: Evade (DND) 
    8080    &Spell::EffectParry,                                    // 22 SPELL_EFFECT_PARRY 
    81     &Spell::EffectUnused,                                   // 23 SPELL_EFFECT_BLOCK                    one spell: Block 
     81    &Spell::EffectBlock,                                    // 23 SPELL_EFFECT_BLOCK                    one spell: Block 
    8282    &Spell::EffectCreateItem,                               // 24 SPELL_EFFECT_CREATE_ITEM 
    8383    &Spell::EffectUnused,                                   // 25 SPELL_EFFECT_WEAPON 
     
    53315331} 
    53325332 
     5333void Spell::EffectBlock(uint32 /*i*/) 
     5334{ 
     5335    if (unitTarget->GetTypeId() != TYPEID_PLAYER) 
     5336        return; 
     5337 
     5338    ((Player*)unitTarget)->SetCanBlock(true); 
     5339} 
     5340 
    53335341void Spell::EffectMomentMove(uint32 i) 
    53345342{