DarthNeno 5 Posted August 29, 2016 Share Posted August 29, 2016 (edited) Hello everyone, i have a problem, when i absobate attribute from a weapon or amor i always have 1% https://metin2.download/picture/Fp6D8CFt2e171De7R63O84glz7mv31sh/.png if its a big problem i will pay for the fix Edited September 3, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Endymion 320 Posted August 29, 2016 Share Posted August 29, 2016 Acce made by /item vnum? 1 Link to comment Share on other sites More sharing options...
DarthNeno 5 Posted August 29, 2016 Author Share Posted August 29, 2016 Item Vnum = 85004 and 85008 NPC Venum = 20091 Link to comment Share on other sites More sharing options...
Premium r00t 123 Posted August 29, 2016 Premium Share Posted August 29, 2016 The assorb % of acce is "set" when you combine 2 acce...if you create a new acce with /i vnum assorb % is not set... system do value of bonus * % absorb...you obtain 0 but if result is <=0 value is set to 1 1 Link to comment Share on other sites More sharing options...
DarthNeno 5 Posted August 29, 2016 Author Share Posted August 29, 2016 xDD Thank you very much Link to comment Share on other sites More sharing options...
Endymion 320 Posted August 29, 2016 Share Posted August 29, 2016 ACMD(do_item) { char arg1[256], arg2[256]; two_arguments(argument, arg1, sizeof(arg1), arg2, sizeof(arg2)); if (!*arg1) { ch->ChatPacket(CHAT_TYPE_INFO, "Usage: item <item vnum>"); return; } int iCount = 1; if (*arg2) { str_to_number(iCount, arg2); iCount = MINMAX(1, iCount, ITEM_MAX_COUNT); } DWORD dwVnum; if (isnhdigit(*arg1)) str_to_number(dwVnum, arg1); else { if (!ITEM_MANAGER::instance().GetVnum(arg1, dwVnum)) { ch->ChatPacket(CHAT_TYPE_INFO, "#%u item not exist by that vnum.", dwVnum); return; } } LPITEM item = ITEM_MANAGER::instance().CreateItem(dwVnum, iCount, 0, true); if (item) { if (item->IsDragonSoul()) { int iEmptyPos = ch->GetEmptyDragonSoulInventory(item); if (iEmptyPos != -1) { item->AddToCharacter(ch, TItemPos(DRAGON_SOUL_INVENTORY, iEmptyPos)); LogManager::instance().ItemLog(ch, item, "GM", item->GetName()); } else { M2_DESTROY_ITEM(item); if (!ch->DragonSoul_IsQualified()) { ch->ChatPacket(CHAT_TYPE_INFO, "ŔÎşĄŔĚ Č°ĽşČ µÇÁö ľĘŔ˝."); } else ch->ChatPacket(CHAT_TYPE_INFO, "Not enough inventory space."); } } else { int iEmptyPos = ch->GetEmptyInventory(item->GetSize()); if (iEmptyPos != -1) { if (item->GetType() == ITEM_COSTUME && item->GetSubType() == COSTUME_ACCE) item->SetSocket(1, iCount); item->AddToCharacter(ch, TItemPos(INVENTORY, iEmptyPos)); LogManager::instance().ItemLog(ch, item, "GM", item->GetName()); } else { M2_DESTROY_ITEM(item); ch->ChatPacket(CHAT_TYPE_INFO, "Not enough inventory space."); } } } else { ch->ChatPacket(CHAT_TYPE_INFO, "#%u item not exist by that vnum.", dwVnum); } } /item 85004 20 Link to comment Share on other sites More sharing options...
DarthNeno 5 Posted September 11, 2016 Author Share Posted September 11, 2016 New Bug... When i absorbate then i have the attribute from weapon but the attack value and attack speed from weapon removed after 2-3 hours.. i hope you can help me Link to comment Share on other sites More sharing options...
DarthNeno 5 Posted September 12, 2016 Author Share Posted September 12, 2016 push Link to comment Share on other sites More sharing options...
DarthNeno 5 Posted September 14, 2016 Author Share Posted September 14, 2016 push Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now