Changeset 229 for trunk/src/game/StatSystem.cpp
- Timestamp:
- 11/19/08 13:48:34 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/game/StatSystem.cpp
r136 r229 69 69 UpdateMaxPower(POWER_MANA); 70 70 UpdateAllSpellCritChances(); 71 UpdateAttackPowerAndDamage(true); //SPELL_AURA_MOD_RANGED_ATTACK_POWER_OF_STAT_PERCENT, only intel ect currently71 UpdateAttackPowerAndDamage(true); //SPELL_AURA_MOD_RANGED_ATTACK_POWER_OF_STAT_PERCENT, only intellect currently 72 72 UpdateArmor(); //SPELL_AURA_MOD_RESISTANCE_OF_INTELLECT_PERCENT, only armor currently 73 73 break; … … 385 385 weapon_maxdamage = lvl*1.25*att_speed; 386 386 } 387 else if(!IsUseEquip edWeapon(attType==BASE_ATTACK)) //check if player not in form but still can't use weapon (broken/etc)387 else if(!IsUseEquippedWeapon(attType==BASE_ATTACK)) //check if player not in form but still can't use weapon (broken/etc) 388 388 { 389 389 weapon_mindamage = BASE_MINDAMAGE;