Changeset 18 for trunk/src/game/Pet.cpp

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

[svn] * Little fix in RandomMovementGenerator?
* Updated to 6731 and 680

Original author: Neo2003
Date: 2008-10-06 04:48:59-05:00

Files:
1 modified

Legend:

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

    r2 r18  
    17431743    if(auraId == 35696)                                       // Demonic Knowledge 
    17441744    { 
    1745         int32 basePoints = aura->GetDamage() * (GetStat(STAT_STAMINA) + GetStat(STAT_INTELLECT)) / 100; 
     1745        int32 basePoints = int32(aura->GetDamage() * (GetStat(STAT_STAMINA) + GetStat(STAT_INTELLECT)) / 100); 
    17461746        CastCustomSpell(this,auraId,&basePoints, NULL, NULL, true ); 
    17471747    }