[DiscordArchive] uint32values: is this the ElunaQuery:GetUInt32?
[DiscordArchive] uint32values: is this the ElunaQuery:GetUInt32?
Archived author: kabi • Posted: 2024-05-01T18:05:30.970000+00:00
Original source
uint32values: is this the ElunaQuery:GetUInt32?
Archived author: Foe • Posted: 2024-05-01T18:05:40.641000+00:00
Original source
noi
Archived author: Foe • Posted: 2024-05-01T18:10:18.563000+00:00
Original source
Doesn't look like it's part of those, it's barely even used core side. It would be easy to add though, you'd just return GetCreatureTemplate()->rank
Archived author: Foe • Posted: 2024-05-01T18:10:45.199000+00:00
Original source
Much better than doing database stuff for something like this
Archived author: kabi • Posted: 2024-05-01T18:14:43.456000+00:00
Original source
i don't think i'm knowledgeable enough to add this to Eluna itself but thank you for looking into it
Archived author: Foe • Posted: 2024-05-01T18:22:11.181000+00:00
Original source
```C++
int GetRank(Eluna* E, Creature* creature)
{
E->Push(creature->GetCreatureTemplate()->rank);
return 1;
}```
Archived author: Foe • Posted: 2024-05-01T18:22:15.612000+00:00
Original source
in creature methods
Archived author: kabi • Posted: 2024-05-01T18:25:09.115000+00:00
Original source
i just found the ExtraFlags one and thought about how i could maybe alter this. theoretically i could add a method for every field not yet covered by a method in creature template, right?
Archived author: Foe • Posted: 2024-05-01T18:32:43.761000+00:00
Original source
https://github.com/ElunaLuaEngine/Eluna/...b786149277 added it for base Eluna now, so maybe someone can port it for you It's pretty straight forward to add though, definitely recommend doing it properly
[Embed: Add GetRank method for creatures · ElunaLuaEngine/Eluna@4885880]
https://github.com/ElunaLuaEngine/Eluna/...b786149277
Archived author: kabi • Posted: 2024-05-01T18:34:56.025000+00:00
Original source
oh thank you, i'll try to understand CreatureMethods.h in mod-eluna