Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] How can I disable flights on mounts?

[DiscordArchive] How can I disable flights on mounts?

[DiscordArchive] How can I disable flights on mounts?

rektbyfaith
Administrator
0
12-18-2022, 01:24 AM
#1
Archived author: Legioner • Posted: 2022-12-18T01:24:52.536000+00:00
Original source

How can I disable flights on mounts?
rektbyfaith
12-18-2022, 01:24 AM #1

Archived author: Legioner • Posted: 2022-12-18T01:24:52.536000+00:00
Original source

How can I disable flights on mounts?

rektbyfaith
Administrator
0
12-18-2022, 01:28 AM
#2
Archived author: Revision • Posted: 2022-12-18T01:28:39.419000+00:00
Original source

I guess by changing this function a little https://github.com/azerothcore/azerothco....cpp#L3913
rektbyfaith
12-18-2022, 01:28 AM #2

Archived author: Revision • Posted: 2022-12-18T01:28:39.419000+00:00
Original source

I guess by changing this function a little https://github.com/azerothcore/azerothco....cpp#L3913

rektbyfaith
Administrator
0
12-18-2022, 01:29 AM
#3
Archived author: Revision • Posted: 2022-12-18T01:29:11.842000+00:00
Original source

Wait, no
rektbyfaith
12-18-2022, 01:29 AM #3

Archived author: Revision • Posted: 2022-12-18T01:29:11.842000+00:00
Original source

Wait, no

rektbyfaith
Administrator
0
12-18-2022, 01:29 AM
#4
Archived author: Revision • Posted: 2022-12-18T01:29:24.832000+00:00
Original source

I'm sorry, I went a little confused there.
rektbyfaith
12-18-2022, 01:29 AM #4

Archived author: Revision • Posted: 2022-12-18T01:29:24.832000+00:00
Original source

I'm sorry, I went a little confused there.

rektbyfaith
Administrator
0
12-18-2022, 01:34 AM
#5
Archived author: Revision • Posted: 2022-12-18T01:34:07.011000+00:00
Original source

I don't know if it's even possible to allow using mounts that are flying mounts without being able to fly them but just maybe something in this function could let you "disable" flying mounts in general https://github.com/azerothcore/azerothco....cpp#L1505
rektbyfaith
12-18-2022, 01:34 AM #5

Archived author: Revision • Posted: 2022-12-18T01:34:07.011000+00:00
Original source

I don't know if it's even possible to allow using mounts that are flying mounts without being able to fly them but just maybe something in this function could let you "disable" flying mounts in general https://github.com/azerothcore/azerothco....cpp#L1505

rektbyfaith
Administrator
0
12-18-2022, 01:40 AM
#6
Archived author: Legioner • Posted: 2022-12-18T01:40:25.955000+00:00
Original source

Thanks. I will drip. It would just be enough that they could not fly and could only be used as ground-based.
rektbyfaith
12-18-2022, 01:40 AM #6

Archived author: Legioner • Posted: 2022-12-18T01:40:25.955000+00:00
Original source

Thanks. I will drip. It would just be enough that they could not fly and could only be used as ground-based.

rektbyfaith
Administrator
0
12-18-2022, 01:43 AM
#7
Archived author: Revision • Posted: 2022-12-18T01:43:13.571000+00:00
Original source

Maybe this function could be replaced by
```
if (HasAttribute(SPELL_ATTR4_ONLY_FLYING_AREAS) && (area_id || zone_id))
{
return SPELL_FAILED_INCORRECT_AREA;
}
```

Worth a try at least.
[Image: image.png?ex=690bfd31&is=690aabb1&hm=58a...3974a9220&]
rektbyfaith
12-18-2022, 01:43 AM #7

Archived author: Revision • Posted: 2022-12-18T01:43:13.571000+00:00
Original source

Maybe this function could be replaced by
```
if (HasAttribute(SPELL_ATTR4_ONLY_FLYING_AREAS) && (area_id || zone_id))
{
return SPELL_FAILED_INCORRECT_AREA;
}
```

Worth a try at least.
[Image: image.png?ex=690bfd31&is=690aabb1&hm=58a...3974a9220&]

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)