Join Helbreath
Would you like to react to this message? Create an account in a few clicks or log in to continue.


This is a website run by veteran Helbreath players with the aim of sharing discussions and content exclusively related to the development of a server and its gameplay.
 
HomeUseful information for Helbreath beginnersPlay, discover, and broadcast your Helbreath moments for free.Statistics overviewSearchMemberlistRulesRegisterLog in

We depend on Ads revenue to keep our site running. Please consider disabling your Ad Blocker so that we can continue to create the content you come to enjoy.
Thank you for your continued cooperation and understanding.

 

 Upgrade Items 100%

Go down 
AuthorMessage
Santana
‏‏‎ ‎‏‏‎ ‎
‏‏‎ ‎‏‏‎ ‎
Santana

Posts : 28
Since : 2014-03-10

Upgrade Items 100% Empty
PostSubject: Upgrade Items 100%   Upgrade Items 100% 999105/20/2016, 7: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
Roazir
‏‏‎ ‎‏‏‎ ‎
‏‏‎ ‎‏‏‎ ‎
Roazir

Posts : 163
Since : 2013-08-18

Upgrade Items 100% Empty
PostSubject: Re: Upgrade Items 100%   Upgrade Items 100% 999105/24/2016, 4: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: