Go Back   EQEmulator Home > EQEmulator Forums > Development > Development: Custom Code

Development: Custom Code This is for code thatdoes not emulate live and wont be added to the official code.

Reply
 
Thread Tools Display Modes
  #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
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 10:35 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3