View Single Post
  #1  
Old 02-08-2008, 12:11 PM
Toriad
Fire Beetle
 
Join Date: Apr 2004
Posts: 21
Default 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?
Reply With Quote