An essential info site for anyone learning the game. Great community and often very insightful posts.
 
HomeUseful information for Helbreath beginnersPlay, discover, and broadcast your Helbreath moments for free.SearchRulesRegisterLog in
Share
 

 Upgrade Items 100%

Go down 
AuthorMessage
Santana

Santana


Upgrade Items 100% Empty
PostSubject: Upgrade Items 100%   Upgrade Items 100% EmptyFri 20 May 2016, 6: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
JorgeLRoa
Site Admin
JorgeLRoa


Upgrade Items 100% Empty
PostSubject: Re: Upgrade Items 100%   Upgrade Items 100% EmptyTue 24 May 2016, 3: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 :: Open Source / Development Corner :: C++-
Jump to: