- Feb
- Threads
- 4
- 29
- 35
- 13
AD: Mt2009 - Mobile & PC - 30 January 2026 CHECK THE PRESENTATION!
Copy the normal enchantment object and create an item, set its vnum to 75891.
char_item.cpp
char_item.cpp
C++:
//USE_CHANGE_ATTRIBUTE add it to case
else if (item->GetVnum() == 75891)
{
if ((item2-> GetType() == ITEM_WEAPON) && item2->HasAttr(72))
{
int16_t idx = item2->FindAttribute(72);
int32_t value = item2->GetAttributeValue(idx)+1;
item2->SetForceAttribute(idx,72,value);
}
else
{
ChatPacket(CHAT_TYPE_INFO, "Bu esyayi sadece ortalama hasara sahip silahlarda kullanabilirsiniz.");
return false;
}
}
To see the download links,
Log in or register now.
Last edited by a moderator:
