diff options
| author | megamage <none@none> | 2008-10-29 20:00:21 -0500 |
|---|---|---|
| committer | megamage <none@none> | 2008-10-29 20:00:21 -0500 |
| commit | a1131cdb21370baaaa5212707e78af5834874395 (patch) | |
| tree | e06256e25c32103465310dc37d4427a2e5acac4e /src/game/Player.cpp | |
| parent | 7ea14f94f1e9c2fa3483b4dd3526cd5d67e45161 (diff) | |
[svn] Provide creature dual wield support.
Update glancing damage formula.
Do not daze creatures when other creatures attack from the back (need to find a better way).
Fix the damage calculation of +damage aura.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Player.cpp')
| -rw-r--r-- | src/game/Player.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp index b976ff13890..3eb5563831f 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -993,17 +993,6 @@ void Player::Update( uint32 p_time ) Unit::Update( p_time ); - // update player only attacks - if(uint32 ranged_att = getAttackTimer(RANGED_ATTACK)) - { - setAttackTimer(RANGED_ATTACK, (p_time >= ranged_att ? 0 : ranged_att - p_time) ); - } - - if(uint32 off_att = getAttackTimer(OFF_ATTACK)) - { - setAttackTimer(OFF_ATTACK, (p_time >= off_att ? 0 : off_att - p_time) ); - } - time_t now = time (NULL); UpdatePvPFlag(now); |
