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

[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.

Original author: megamage
Date: 2008-10-29 20:00:21-05:00

Files:
1 modified

Legend:

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

    r128 r136  
    993993 
    994994    Unit::Update( p_time ); 
    995  
    996     // update player only attacks 
    997     if(uint32 ranged_att = getAttackTimer(RANGED_ATTACK)) 
    998     { 
    999         setAttackTimer(RANGED_ATTACK, (p_time >= ranged_att ? 0 : ranged_att - p_time) ); 
    1000     } 
    1001  
    1002     if(uint32 off_att = getAttackTimer(OFF_ATTACK)) 
    1003     { 
    1004         setAttackTimer(OFF_ATTACK, (p_time >= off_att ? 0 : off_att - p_time) ); 
    1005     } 
    1006995 
    1007996    time_t now = time (NULL);