Flaid Posted January 9, 2012 Group: Members Topic Count: 20 Topics Per Day: 0.00 Content Count: 398 Reputation: 140 Joined: 01/04/12 Last Seen: February 19, 2022 Share Posted January 9, 2012 (edited) As some of you guys might remember, preserve was able to be turned off. I now will teach you how you can do that with a few simple source edits. Open up your skill.c and look for case ST_PRESERVE: It will look like this: case NPC_DEFENDER: case NPC_MAGICMIRROR: case ST_PRESERVE: case NPC_INVINCIBLE: Now you outmark it. It will look like this then: case NPC_DEFENDER: case NPC_MAGICMIRROR: //case ST_PRESERVE: case NPC_INVINCIBLE: Now you search for case GS_GATLINGFEVER: and add case ST_PRESERVE: at the bottom. It should look like this now: case CR_SHRINK: case SG_FUSION: case GS_GATLINGFEVER: case ST_PRESERVE: if( tsce ) { clif_skill_nodamage(src,bl,skillid,skilllv,status_change_end(bl, type, -1)); map_freeblock_unlock(); Okay, now you'll have to search for // Turn off check and add case ST_PRESERVE: at the end. It will look like this. (Sorry I have to post the screenshot here because tabs don't work and it will look crappy) Now just save and recompile your server. You now will be able to turn preserve off when it's on and you use the skill again. Edited January 9, 2012 by Flaid 1 Quote Link to comment Share on other sites More sharing options...
whine06 Posted March 12, 2012 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 29 Reputation: 1 Joined: 02/26/12 Last Seen: April 5, 2019 Share Posted March 12, 2012 thanks for this .. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.