EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Development: Custom Code (https://www.eqemulator.org/forums/forumdisplay.php?f=665)
-   -   RotCorpse Command (https://www.eqemulator.org/forums/showthread.php?t=24344)

Toriad 02-08-2008 12:11 PM

RotCorpse Command
 
Code:

void command_rotcorpse(Client *c, const Seperator *sep) {
 
        Corpse *d;
 
        if (c->GetTarget() && c->GetTarget()->IsPlayerCorpse()) {
                d = c->GetTarget()->CastToCorpse();
                d->SetDecayTimer(1);
                c->Message(0, "Target Corpse was Rotted");
        } else {
                c->Message(0, "You Need to Target a Corpse!");
        }
 
}

My issue with it is, when I use it in the shadowrest zone, the corpse is buried and rotted..

If I use it in QRG, or any other place For that matter, it just rots and the corpse is gone forever...

anyone know why?


All times are GMT -4. The time now is 04:22 AM.

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