Changeset 136 for trunk/src/game/SpellEffects.cpp
- Timestamp:
- 11/19/08 13:39:20 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/game/SpellEffects.cpp
r130 r136 3441 3441 void Spell::EffectDualWield(uint32 /*i*/) 3442 3442 { 3443 if (unitTarget->GetTypeId() == TYPEID_PLAYER) 3444 ((Player*)unitTarget)->SetCanDualWield(true); 3443 unitTarget->SetCanDualWield(true); 3444 if(unitTarget->GetTypeId() == TYPEID_UNIT) 3445 ((Creature*)unitTarget)->UpdateDamagePhysical(OFF_ATTACK); 3445 3446 } 3446 3447