EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Spell Support (https://www.eqemulator.org/forums/forumdisplay.php?f=664)
-   -   Iksar skeleton pets, lich form? (https://www.eqemulator.org/forums/showthread.php?t=42279)

Eudith 01-15-2019 08:11 PM

Iksar skeleton pets, lich form?
 
Hi, this may be the wrong forum for a question like this but I was wondering if anyone has figured out a way to get the pets of Iksar to be Iksar skeletons, or make Iksar's lich form an Iksar skeleton, while leaving the pets / lich forms of other necromancers humanoid? I figure it might be possible with a "quests/global/spells/" script, but don't know where to start, there doesn't seem to be a getPet() Lua function.

Thank you for your time!

demonstar55 01-15-2019 10:05 PM

You could do it in quests/global/petid.ext (ext being pl or lua) in a SPAWN event (like we do with pets in airplane on PEQ) but that only works if e.self:GetOwner() is valid at that point :P

Eudith 01-16-2019 12:16 AM

Interesting! To avoid possible headaches, in what situations would e.self:GetOwner() not be valid?

demonstar55 01-16-2019 03:29 AM

I haven't looked at the code to answer that. But I know the pet spawns before owner on zoning ...

Eudith 01-16-2019 06:22 AM

Oh, that's a good point. For that matter, do you know how I can disable pets zoning? (They used to kill themselves when their owner zoned in the classic era.) I'm not seeing an option right off in the rule_values table.

Thanks again!


All times are GMT -4. The time now is 11:21 AM.

Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.