• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

[SOLVED] Hunter traps does not work in phase > 1

Status
Not open for further replies.

Ican

Enthusiast
Hi guys, iam using ELuna with alot of phasing scripts. After couple of tests, we have noticed, that hunter traps does not working in phase > 1 (hunter and enemy in phase > 1) , so now i am gonna try to solve this problem, and maybe somebody can help me with it? Thanks. :crying:

offtopic: IsARecruiter() in Eluna, always returns TRUE for any player, because default value in TDB for this field is 0.
 
Last edited:

Tommy

Founder
Let's recap:

TrinityCore doesn't have player unique phases, so their phasing system kinda sucks. Don't you need to set the phase of the trap it spawns though?

About the recruiter method always returning true, don't have any idea because I don't know how that method works in general.
 

Rochet2

Moderator / Eluna Dev
The method should return false almost always .. hmm.
I checked the code and the function checks for a variable from the player's session which is set according to if there is a player that has the player's accID in recruiter field.
Check that there is no account with ID 0.

Adding an additional check to the method, like it is used in core, but it shouldnt affect this.

ps. tested and it seems to work correctly. Not sure what is wrong with you, except if you ahve an account with 0 ID
 
Last edited:
Status
Not open for further replies.
Top