Author Topic: Re-levelling  (Read 370 times)

Legacy_Grani

  • Hero Member
  • *****
  • Posts: 1040
  • Karma: +0/-0
Re-levelling
« on: September 18, 2013, 11:45:10 pm »


               So, I wanted to make a script that would allow a character to re-level beginning from level 1 to level that he is currently on. It wouldn't be very difficult, but I heard there were some problems with levelling down some classes, I believe one of them was Red Dragon Disciple.

I don't know the details though and wasn't able to find much about it, so here's my question: what exactly poses a problem with these classes and is there a way of solving it without a DM?

Also, if anyone already has a script for all that and was willing to share it, it'd be most welcome.

Thanks!
               
               

               


                     Modifié par Grani, 18 septembre 2013 - 10:46 .
                     
                  


            

Legacy_WhiZard

  • Hero Member
  • *****
  • Posts: 2149
  • Karma: +0/-0
Re-levelling
« Reply #1 on: September 19, 2013, 03:22:21 am »


               RDD ability score increase is the only problem (as the losing levels does not always remove the additions to stats) and it can only be fixed by changing the base ability score.  NWNX should have a solution, but NWScript does not by itself.
               
               

               
            

Legacy_FunkySwerve

  • Hero Member
  • *****
  • Posts: 2325
  • Karma: +0/-0
Re-levelling
« Reply #2 on: September 19, 2013, 03:53:32 am »


               Whiz is correct. I just want to add that RDD is the ONLY vanilla class that has this issue. You can create similar issues if you use nwnx to add feats/what-have-you, but otherwise just check for RDD. Here's our delevel check, taken from a conditional script. Note that we respec'ed our RDDs, so you may not need to block from level 1, as we do - I just don't remember where the stat scores fall for vanilla RDDs, though it's easy enough to check. All the other checks are for things idiosyncratic to our server, like added feats.


#include "hg_inc"

int StartingConditional() {
    object oPC = GetPCSpeaker();

    if (GetLootable(oPC) > 40)
        return TRUE;

    if (GetLevelByClass(CLASS_TYPE_DRAGONDISCIPLE, oPC) > 0)
        return TRUE;

    if (GetIsQuasiclass(QUASICLASS_ACCURSED_PARIAH, oPC))
        return TRUE;

    if (GetLevelByClass(CLASS_TYPE_FIGHTER, oPC) >= 22        ||
        GetLevelByClass(CLASS_TYPE_ASSASSIN, oPC) >= 14       ||
        GetLevelByClass(CLASS_TYPE_DIVINECHAMPION, oPC) >= 14 ||
        GetLevelByClass(CLASS_TYPE_SHADOWDANCER, oPC) >= 13) {

        if (!GetPersistentInt(oPC, "CanDelevel"))
            return TRUE;
    }

    return FALSE;
}

Funky
               
               

               
            

Legacy_Grani

  • Hero Member
  • *****
  • Posts: 1040
  • Karma: +0/-0
Re-levelling
« Reply #3 on: September 19, 2013, 11:17:25 am »


               Oh... that's quite sad if RDD can't be automatically relevelled without the risk of corrupting the character.

In this situation, I think I might use a rather nasty workaround, that is, instead of standard re-levelling Dragon Disciples will be offered to have their experience "dropped" into the item that they can give to another character (possibly a "new" version of supposedly the same char) who can then use the item to be given all that experience.

I'd make it so that this item cannot be used by any character on level other than 1 and can't be used by a class that wasn't the original character's first class (that is, if he was a sorcerer, then only a 1lvl Sorc will be able to use it and if he was a bard, then only a 1lvl Bard will, etc)

As I said, that's rather nasty for players, but I see no better way without a DM.

Anyway, thanks for the answers!
               
               

               


                     Modifié par Grani, 19 septembre 2013 - 10:26 .
                     
                  


            

Legacy_Grani

  • Hero Member
  • *****
  • Posts: 1040
  • Karma: +0/-0
Re-levelling
« Reply #4 on: September 19, 2013, 01:55:24 pm »


               By the way, can RDD also be corrupted by deleveling caused by death? If that's so, that seems to be quite problematic.

*Sigh*
It would be so easy if BioWare had implemented SetBaseAbility function. ':unsure:'
               
               

               


                     Modifié par Grani, 19 septembre 2013 - 02:43 .
                     
                  


            

Legacy_WhiZard

  • Hero Member
  • *****
  • Posts: 2149
  • Karma: +0/-0
Re-levelling
« Reply #5 on: September 19, 2013, 08:02:56 pm »


               The default scripts do not reduce XP beyond a level point, so RDD should not be corrupted in the official campaigns or modules that do not change these scripts.
               
               

               
            

Legacy_Grani

  • Hero Member
  • *****
  • Posts: 1040
  • Karma: +0/-0
Re-levelling
« Reply #6 on: September 19, 2013, 08:42:15 pm »


               Indeed, guess I'll use the default scripts for that, then. Thanks again.