• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

error compile vs

piikedu

New Member
Joined
Dec 10, 2012
Messages
3
Reaction score
0
hi, i'm trying to add this in combat.cpp but i get error.
C++:
     if(caster && caster->getPlayer())
        {
            std::string value;
             caster->getStorage(378378, value);
            int32_t plus  = (int32_t)(atoi(value.c_str()));
           int32_t power =plus *2.5 ;
            if(plus  > 0 && params.combatType != COMBAT_HEALING )
              change  = (int32_t)std::ceil (change  + change  * power /100);
        }
to compile use vs 2010 x64, use tfs 0.4 rev 3777
image with error
 

Attachments

Back
Top