[C++/SOURCE]6/7 Bonus direkt im Item

04/03/2018 22:06 voldakov#16
shit message
04/04/2018 01:30 x'Radon#17
Quote:
Originally Posted by voldakov View Post
Problem is arrow and new arrow system,
arrow is Item_weapon type so this code will do same with these item
So we need to add these line in addattrrare :

bool CItem::AddRareAttribute()
{

if (GetType() == ITEM_WEAPON)
{
if (GetSubType() == WEAPON_ARROW)
return false;

#ifdef __NEW_ARROW_SYSTEM__
if (GetSubType() == WEAPON_UNLIMITED_ARROW)
return false;
#endif
}
Didnt fixxed the problem for me. already:

SYSERR: Apr 4 01:20:23 :: number_ex: number(): first argument is bigger than second argument 0 -> -1, item_attribute.cpp 411
04/04/2018 19:11 voldakov#18
shit message