[DiscordArchive] Does someone know what is exactly "Misc Value" ...
[DiscordArchive] Does someone know what is exactly "Misc Value" ...
Archived author: Needle • Posted: 2025-07-06T14:31:32.586000+00:00
Original source
Archived author: Needle • Posted: 2025-07-06T14:31:34.889000+00:00
Original source
Thread automatically created by Algardo in <#415944535718494208>
Archived author: Titi • Posted: 2025-07-06T14:44:52.303000+00:00
Original source
https://discord.com/channels/40766404101...6740658186
Archived author: Algardo • Posted: 2025-07-06T15:30:18.093000+00:00
Original source
https://tenor.com/view/namasthe-namaskar...f-18483319
![[Image: image.png?ex=690c168e&is=690ac50e&hm=d77...4da2f595f&]](https://cdn.discordapp.com/attachments/1391426345179025429/1391441423001194606/image.png?ex=690c168e&is=690ac50e&hm=d77fd42572f10554a8e9f064e9df3382aeb48748e80972245f141814da2f595f&)
Archived author: Algardo • Posted: 2025-07-06T15:31:27.035000+00:00
Original source
im not blind anymore
![[Image: image.png?ex=690c168e&is=690ac50e&hm=d77...4da2f595f&]](https://cdn.discordapp.com/attachments/1391426345179025429/1391441423001194606/image.png?ex=690c168e&is=690ac50e&hm=d77fd42572f10554a8e9f064e9df3382aeb48748e80972245f141814da2f595f&)
Archived author: Algardo • Posted: 2025-07-06T15:34:30.172000+00:00
Original source
probably you know this too <@213383518842126336> , where is defined the max level for a spell
for example if i want to make a consumable only for leveling 1-79, max level 79 and at 80 it dissapears
i tried to set MaxTargetLevel to 79 but it didnt work
Archived author: Crane • Posted: 2025-07-06T16:29:09.920000+00:00
Original source
can be done with a spellscript here a example not testet
```#include "ScriptMgr.h"
#include "Player.h"
#include "Item.h"
class item_restricted_level_use : public ItemScript
{
public:
item_restricted_level_use() : ItemScript("item_restricted_level_use") { }
bool OnUse(Player* player, Item* item, SpellCastTargets const&) override
{
if (!player)
return false;
if (player->getLevel() >= 80)
{
player->SendEquipError(EQUIP_ERR_CANT_DO_RIGHT_NOW, item, nullptr);
player->GetSession()->SendNotification("You are too high level to use this item!");
return true; // true = Consumption is canceled
}
// Item may be used – true = continue consumption
return false;
}
};
void AddSC_item_restricted_level_use()
{
new item_restricted_level_use();
}
```
```UPDATE item_template SET ScriptName = 'item_restricted_level_use' WHERE entry = <ItemEntry>;```
Archived author: Algardo • Posted: 2025-07-06T16:32:31.796000+00:00
Original source
i was trying to avoid that, i know there are some items which already have a restriction, but im trying to find where the restriction is and i find nothing
![[Image: image.png?ex=690c24e2&is=690ad362&hm=0b3...07e7f1e03&]](https://cdn.discordapp.com/attachments/1391426345179025429/1391456803920810167/image.png?ex=690c24e2&is=690ad362&hm=0b35c99c62b13dee2b3506cd79043f3aa840b4975cc5845b304461107e7f1e03&)
Archived author: Algardo • Posted: 2025-07-06T16:32:34.121000+00:00
Original source
![[Image: image.png?ex=690c24e2&is=690ad362&hm=0b3...07e7f1e03&]](https://cdn.discordapp.com/attachments/1391426345179025429/1391456803920810167/image.png?ex=690c24e2&is=690ad362&hm=0b35c99c62b13dee2b3506cd79043f3aa840b4975cc5845b304461107e7f1e03&)
Archived author: Algardo • Posted: 2025-07-06T16:32:46.604000+00:00
Original source
item: 11122
spell: 48777