Skip to content

How to add drops with Seal behavior #6522

Answered by EpicTaru
HaxleyMODS asked this question in Q&A
Discussion options

You must be logged in to vote

// Check if mob can drop seals -- mobmod to disable drops, zone type isnt battlefield/dynamis, mob is stronger than Too Weak, or mobmod for EXP bonus is -100 or lower (-100% exp)
if (!getMobMod(MOBMOD_NO_DROPS) && validZone && charutils::CheckMob(m_HiPCLvl, GetMLevel()) > EMobDifficulty::TooWeak && getMobMod(MOBMOD_EXP_BONUS) > -100)
{
// check for seal drops
/* MobLvl >= 1 = Beastmen Seals ID=1126
>= 50 = Kindred Seals ID=1127
>= 75 = Kindred Crests ID=2955
>= 90 = High Kindred Crests ID=2956
*/
if (xirand::GetRandomNumber(100) < 20 && PChar->PTreasurePool->CanAd…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@EpicTaru
Comment options

Answer selected by HaxleyMODS
@TeoTwawki
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants