[DiscordArchive] what spell are you trying to cast?
[DiscordArchive] what spell are you trying to cast?
Archived author: Anchy • Posted: 2024-01-25T08:45:44.318000+00:00
Original source
what spell are you trying to cast?
Archived author: tomato • Posted: 2024-01-25T08:48:02.616000+00:00
Original source
I'm pretty much trying to replicate the retail reagent bank, as in, automagically using trade goods that are not present in the player's inventory to craft an item - so pretty much all crafting spells :^)
I'm currently using `Teleport: Stormwind` for testing, as that also requires a reagent
Archived author: Anchy • Posted: 2024-01-25T08:51:43.506000+00:00
Original source
ah I see
Archived author: Anchy • Posted: 2024-01-25T09:00:41.657000+00:00
Original source
looking at the code on the C++ you can define CastFlags
Archived author: Anchy • Posted: 2024-01-25T09:01:01.939000+00:00
Original source
```cpp
TRIGGERED_IGNORE_POWER_AND_REAGENT_COST = 0x00000004, //! Will ignore power and reagent cost```
Archived author: Anchy • Posted: 2024-01-25T09:01:05.848000+00:00
Original source
this being of interest to you
Archived author: Anchy • Posted: 2024-01-25T09:01:51.778000+00:00
Original source
how you can pass in CastFlags from eluna im not sure
Archived author: tomato • Posted: 2024-01-25T09:08:04.812000+00:00
Original source
doesn't seem like there's any way to manually set flags on spell
Archived author: Anchy • Posted: 2024-01-25T09:08:21.371000+00:00
Original source
you can set triggered to true, but that sets ALL flags which is bad because then you get instant casts, etc..
Archived author: Anchy • Posted: 2024-01-25T09:08:39.310000+00:00
Original source
maybe open an issue to have a function created which allows flags