A site run by veteran gamers with the aim of sharing discussions and content exclusively related to the development of Helbreath and its gameplay.
 
HomeUseful information for Helbreath beginnersStatistics overviewSearchMemberlistRulesRegisterLog in
 

 Upgrade Items 100%

Go down 
2 posters
AuthorMessage
Santana
‏‏‎ ‎‏‏‎ ‎
‏‏‎ ‎‏‏‎ ‎
Santana

Posts : 28
Since : 2014-03-10

Upgrade Items 100% Empty
PostSubject: Upgrade Items 100%   Upgrade Items 100% 999105/20/2016, 10:05 pm

Bueno esto es sensillo , sirve para a la hora de upgradiar el angel tenga un 100% de change de upgradiar

HG src : Game.cpp

Buscan:
Code:
BOOL CGame::bCheckIsItemUpgradeSuccess(int iClientH, int iItemIndex, int iSomH, BOOL bBonus)

abajo buscan :

Code:
switch (iValue) {

y cambian todo el switch por 
Code:
   switch (iValue) {
   case 0: iProb =  800; break; 
   case 1: iProb =  750; break;
   case 2: iProb =  600; break;
   case 3: iProb =  550; break;
   case 4: iProb =  500; break;
   case 5: iProb =  450; break;
   case 6: iProb =  400; break; 
   case 7: iProb =  350; break;
   case 8: iProb =  300; break;
   case 9: iProb =  250; break;
   default: iProb = 100; break;
   }


Upgrade Items 100% Thump_916152217724256038512731101
Back to top Go down
R04Z1R
‏‏‎ ‎‏‏‎ ‎
‏‏‎ ‎‏‏‎ ‎
R04Z1R

Posts : 164
Since : 2013-08-18

Upgrade Items 100% Empty
PostSubject: Re: Upgrade Items 100%   Upgrade Items 100% 999105/24/2016, 7:10 pm

No estoy seguro de si el código funciona, pero, ¡gracias por enviarlo!
Back to top Go down
 
Upgrade Items 100%
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Join Helbreath :: Server Development :: C++-
Jump to: