Crafters & keybinding & commands fix + updated MobBook info

Fixed player receiving DOT even if protected on Orbis Tower <B2>, added
HPbar on Rombot, fixed keybinding issue with clashing skill-item id's,
fixed some mischeckings on NPC crafters, fixed "travelling events"
sending players to random spawnpoints when arriving, fixed hair&face
commands, fixed dispel effect not showing to others, updated drop data
on mobbook.
This commit is contained in:
ronancpl
2017-08-18 19:35:23 -03:00
parent c8e36c10e7
commit ba6b5bc191
122 changed files with 30229 additions and 10188 deletions

View File

@@ -139,10 +139,10 @@ function action(mode, type, selection) {
{
if (mats instanceof Array) {
for(var i = 0; pass && i < mats.length; i++)
if (!cm.haveItem(mats[i], matQty[i]))
if (!cm.haveItem(mats[i], matQty[i] * qty))
pass = false;
}
else if (!cm.haveItem(mats, matQty))
else if (!cm.haveItem(mats, matQty * qty))
pass = false;
/*if (mats instanceof Array) {
for(var i = 0; pass && i < mats.length; i++)