message: creature: LevelUp/LevelDown unit test
diff: @@ -132,5 +132,16 @@ void main()
  NWNX_Creature_SetBaseSavingThrow(oCreature, SAVING_THROW_WILL, nSave + 10);
  report("{S,G}etBaseSavingThrow", NWNX_Creature_GetBaseSavingThrow(oCreature, SAVING_THROW_WILL) == nSave+10);
  +
  + int cls = NWNX_Creature_GetClassByLevel(oCreature, 1);
  + NWNX_Creature_LevelUp(oCreature, cls, 10);
  + report("LevelUp", GetLevelByPosition(1, oCreature) == 11);
  + NWNX_Creature_LevelDown(oCreature, 10);
  + report("LevelDown", GetLevelByPosition(1, oCreature) == 1);
  + NWNX_Creature_LevelUp(oCreature, CLASS_TYPE_ROGUE, 20);
  + NWNX_Creature_LevelUp(oCreature, CLASS_TYPE_ROGUE, 20);
  + NWNX_Creature_LevelUp(oCreature, CLASS_TYPE_ROGUE, 20);
  + NWNX_Creature_LevelUp(oCreature, CLASS_TYPE_ROGUE, 20);
  +
  WriteTimestampedLogEntry("NWNX_Creature unit test end.");
  }
  