tests
This commit is contained in:
parent
a46ba5a345
commit
f2d7b64a19
@ -4098,11 +4098,8 @@ function dropitem($slot)
|
|||||||
case 26:
|
case 26:
|
||||||
$slot1 = 'rune_3';
|
$slot1 = 'rune_3';
|
||||||
break;
|
break;
|
||||||
|
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
if (mysql_query("UPDATE `users` as u, `inventory` as i SET u.{$slot1} = 0, i.dressed = 0,
|
if (mysql_query("UPDATE `users` as u, `inventory` as i SET u.{$slot1} = 0, i.dressed = 0,
|
||||||
u.sila = u.sila - i.gsila,
|
u.sila = u.sila - i.gsila,
|
||||||
u.lovk = u.lovk - i.glovk,
|
u.lovk = u.lovk - i.glovk,
|
||||||
@ -4204,8 +4201,6 @@ function dropitem($slot)
|
|||||||
//echo ("Сняли ".$set_id);
|
//echo ("Сняли ".$set_id);
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user