Log in

View Full Version : Rule or variable for Death - Spell loss


dew1960
08-16-2012, 08:52 AM
Hello,

I know there are server variables and rules for death that can be editid in the database.

I already changed them for my server to remove XP loss and so that characters keep items on them when they die (no more corpse runs). This is how it is on live now.

I also wanted to make it so that characters do not have to re-memorize spells after they die, to also emulate the way it is on live right now.

I can't seem to find the rule, ruleset, or variable in the database if it exists and I was wondering if someone can either point me to the table and row or tell me how to do this or confirm if it can or cannot be done.

Please only confirm or deny the possibility if you know it for a fact, no guesses please.

Thank you for the support. :)

louis1016
08-16-2012, 09:30 AM
in the source, delete the following from attack.cpp:


if((GetClientVersionBit() & BIT_SoFAndLater) && RuleB(Character, RespawnFromHover))
UnmemSpellAll(true);
else
UnmemSpellAll(false);


Delete from client.cpp:

UnmemSpellAll();

Maze_EQ
08-16-2012, 09:51 AM
and after that, you need to re-compile.

dew1960
08-16-2012, 12:14 PM
Thanks! I appreciate the support :)