• 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] Ressurection revive pet

Status
Not open for further replies.

Intouch

Respected Member
Hello!

Is possible to edit paladin's and priest's ressurection spell to revive pets too ?
(by default you can cast that ress. spell on pet, but when u are done... nothing happen :/)
 

Rochet2

Moderator / Eluna Dev
Try see \src\server\game\Spells\SpellEffects.cpp
and merge somehow
EffectResurrect
and
EffectResurrectPet

you could for example try call the pet resurrect if the target is not a player
 

Intouch

Respected Member
Hmm not sure, I can't find any function there which can be edited for that.... :/ Any help , please ?
 

Tommy

Founder
Hmm not sure, I can't find any function there which can be edited for that.... :/ Any help , please ?

Rochet did tell you what you could do. "EffectResurrect" - This if statement checks only if the target is a player. You could check if the target is a pet or player instead of just a player. Though, I'm still not sure if the res would work on the pet or not, it's at least worth trying.

Besides, why should other classes resurrect Hunter's pets? That's the Hunter's job.
 

Intouch

Respected Member
Okay, I will try it tomorrow!

Ohh and, I want to allow ress pet for other classes too, for fun xD
 
Status
Not open for further replies.
Top