Id: 19970
AegisName: "White_Slim_Potion_Box"
Name: "White Slim Potion Box"
Type: 2
Weight: 150
Script: <"
if (getmapflag(strcharinfo(3),mf_pvp_consume)) {
set .@charid1,150056;
if (!checkweight (547,150)) {
dispbottom "У Вас перевес.";
getitem 19970,1;
end;
} else {
getitem2 547,(150),1,0,0, 254, 0, .@charid1 & 0xFFFF, .@charid1 >> 0x10;
}
}
else if (getmapflag(strcharinfo(3),mf_bg_consume)) {
set .@charid2,150028;
if (!checkweight (547,150)) {
dispbottom "У Вас перевес.";
getitem 19970,1;
end;
} else {
getitem2 547,(150),1,0,0, 254, 0, .@charid2 & 0xFFFF, .@charid2 >> 0x10;
}
}
else {
dispbottom "Вы не можете использовать этот предмет.";
getitem 19970,1;
end;
}
">