Forums WoW Modding Support Archives WoWModding Threads [DiscordArchive] Does someone know what is exactly "Misc Value" ...

[DiscordArchive] Does someone know what is exactly "Misc Value" ...

[DiscordArchive] Does someone know what is exactly "Misc Value" ...

Pages (3): 1 2 3 Next
rektbyfaith
Administrator
0
07-06-2025, 02:31 PM
#1
Archived author: Needle • Posted: 2025-07-06T14:31:32.586000+00:00
Original source

rektbyfaith
07-06-2025, 02:31 PM #1

Archived author: Needle • Posted: 2025-07-06T14:31:32.586000+00:00
Original source

rektbyfaith
Administrator
0
07-06-2025, 02:31 PM
#2
Archived author: Needle • Posted: 2025-07-06T14:31:34.889000+00:00
Original source

Thread automatically created by Algardo in <#415944535718494208>
rektbyfaith
07-06-2025, 02:31 PM #2

Archived author: Needle • Posted: 2025-07-06T14:31:34.889000+00:00
Original source

Thread automatically created by Algardo in <#415944535718494208>

rektbyfaith
Administrator
0
07-06-2025, 02:44 PM
#3
Archived author: Titi • Posted: 2025-07-06T14:44:52.303000+00:00
Original source

https://discord.com/channels/40766404101...6740658186
rektbyfaith
07-06-2025, 02:44 PM #3

Archived author: Titi • Posted: 2025-07-06T14:44:52.303000+00:00
Original source

https://discord.com/channels/40766404101...6740658186

rektbyfaith
Administrator
0
07-06-2025, 03:30 PM
#4
Archived author: Algardo • Posted: 2025-07-06T15:30:18.093000+00:00
Original source

https://tenor.com/view/namasthe-namaskar...f-18483319
rektbyfaith
07-06-2025, 03:30 PM #4

Archived author: Algardo • Posted: 2025-07-06T15:30:18.093000+00:00
Original source

https://tenor.com/view/namasthe-namaskar...f-18483319

rektbyfaith
Administrator
0
07-06-2025, 03:31 PM
#5
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&]
rektbyfaith
07-06-2025, 03:31 PM #5

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&]

rektbyfaith
Administrator
0
07-06-2025, 03:34 PM
#6
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
rektbyfaith
07-06-2025, 03:34 PM #6

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

rektbyfaith
Administrator
0
07-06-2025, 04:29 PM
#7
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>;```
rektbyfaith
07-06-2025, 04:29 PM #7

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>;```

rektbyfaith
Administrator
0
07-06-2025, 04:32 PM
#8
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
rektbyfaith
07-06-2025, 04:32 PM #8

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

rektbyfaith
Administrator
0
07-06-2025, 04:32 PM
#9
Archived author: Algardo • Posted: 2025-07-06T16:32:34.121000+00:00
Original source


[Image: image.png?ex=690c24e2&is=690ad362&hm=0b3...07e7f1e03&]
rektbyfaith
07-06-2025, 04:32 PM #9

Archived author: Algardo • Posted: 2025-07-06T16:32:34.121000+00:00
Original source


[Image: image.png?ex=690c24e2&is=690ad362&hm=0b3...07e7f1e03&]

rektbyfaith
Administrator
0
07-06-2025, 04:32 PM
#10
Archived author: Algardo • Posted: 2025-07-06T16:32:46.604000+00:00
Original source

item: 11122
spell: 48777
rektbyfaith
07-06-2025, 04:32 PM #10

Archived author: Algardo • Posted: 2025-07-06T16:32:46.604000+00:00
Original source

item: 11122
spell: 48777

Pages (3): 1 2 3 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)