• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

Rarity system

Newbie Spellweaver
Joined
Jan 4, 2024
Messages
10
Reaction score
0
Hello, I've implemented the Rarity system, but the problem is that monsters aren't dropping weapons with Rarity. I have the corresponding INC file included, and it seems to be read properly. I can increase the rarity using the Rarity merge, but nothing is dropping. There are no error logs either. Does anyone know what might be causing this issue?
 
Newbie Spellweaver
Joined
Nov 24, 2023
Messages
17
Reaction score
3
Hello, I've implemented the Rarity system, but the problem is that monsters aren't dropping weapons with Rarity. I have the corresponding INC file included, and it seems to be read properly. I can increase the rarity using the Rarity merge, but nothing is dropping. There are no error logs either. Does anyone know what might be causing this issue?
Mover.cpp
CMover :: DropItem
 
Upvote 0
Newbie Spellweaver
Joined
Jan 4, 2024
Messages
10
Reaction score
0
Mover.cpp
CMover :: DropItem
Code:
                                pItemElem->m_nHitPoint    = pItemProp->dwEndurance;
                                pItemElem->SetRandomOpt( CRandomOptItemGen::GetInstance()->GenRandomOptItem( lpMoverProp->dwLevel, (FLOAT)nProbability / 100.0f, pItemProp, lpMoverProp->dwClass ) );
                            }
                            pItemElem->SetAbilityOption( lpDropItem->dwLevel );        // Ãß°¡ ´É·ÂÄ¡ +1, +2 °°Àº°Å.
#ifdef __WEAPON_RARITY
                            pItemElem->SetRandomWeaponRarity();
#endif // __WEAPON_RARITY                           
                            pItemElem->SetSerialNumber();
                            CItem* pItem    = new CItem;
                            pItem->m_pItemBase    = pItemElem;


i have this on Mover.cpp CMover :: DropItem
 
Upvote 0
Newbie Spellweaver
Joined
Nov 24, 2023
Messages
17
Reaction score
3
Code:
                                pItemElem->m_nHitPoint    = pItemProp->dwEndurance;
                                pItemElem->SetRandomOpt( CRandomOptItemGen::GetInstance()->GenRandomOptItem( lpMoverProp->dwLevel, (FLOAT)nProbability / 100.0f, pItemProp, lpMoverProp->dwClass ) );
                            }
                            pItemElem->SetAbilityOption( lpDropItem->dwLevel );        // Ãß°¡ ´É·ÂÄ¡ +1, +2 °°Àº°Å.
#ifdef __WEAPON_RARITY
                            pItemElem->SetRandomWeaponRarity();
#endif // __WEAPON_RARITY                          
                            pItemElem->SetSerialNumber();
                            CItem* pItem    = new CItem;
                            pItem->m_pItemBase    = pItemElem;


i have this on Mover.cpp CMover :: DropItem
1709741708285 - Rarity system - RaGEZONE Forums


on resource check drop rate
 
Upvote 0
Back
Top