Discord: https://discord.gg/z4rndWJzwq
 
HomeUseful information for Helbreath beginnersStatistics overviewSearchMemberlistGalleryRulesRegisterLog in

 

 Upgrade Items 100%

Go down 
2 posters
AuthorMessage
Zmoky


Zmoky

Civilian
Granted to members for high engagement.
10th Anniversary
Earned after being a member for 10 years.
Silver 2
Earned by having 36 posts & comments.

Likes : 22

Upgrade Items 100% Empty
#1PostSubject: 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;
   }
Back to top Go down
Roa


Roa

Diamond 1
Earned by having 144 posts & comments.
10th Anniversary
Earned after being a member for 10 years.
Moderator
Earned by becoming a board moderator.

Likes : 26

Upgrade Items 100% Empty
#2PostSubject: 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
 Similar topics
-
» Items grandes
» Items description
» Items stats calculator
» No me deja Agregar items en :itemscfg
» Show the name of the items on the ground CODE

Permissions in this forum:You cannot reply to topics in this forum
JoinHelbreath.net :: Development :: Code Posting-
Jump to: