Skip to content

Temporary Level Gain?

GreenerGreener Member Posts: 430
edited March 2014 in General Modding
I'm trying to accomplish the following

"The fighter temporarily raises his effective level by two. He temporarily gains the hit points, fighting ability and saving throws of a character two levels higher"

I tried stripping down the "enrage" innate ability from the Berserker, I get part way but thats not very clean

I then tried to use

#96 (0x96) Stat: Level Change [96]
Parameter #1: Statistic Modifier
Parameter #2: Type
Description:
Applies the modifier value specified by the 'Statistic Modifier' field in the style specified by the 'Type' field.
Known values for 'Type' are:
0 Cumulative Modifier -> Level = Level + 'Statistic Modifier' value
1 Flat Value Modifier -> Level = 'Statistic Modifier' value
2 Percentage Modifier -> Level = (Level * 'Statistic Modifier' value) / 100

Without success, any suggestions?

Comments

  • wolpakwolpak Member Posts: 390
    Just edit each effect opcode to do what you want. Have it lower all Saves by two, lower THAC0 by 2 and raise HP by whatever for a duration. If you want it to be exact, then you will have to edit each spell level with the appropriate stat changes.
  • GrammarsaladGrammarsalad Member Posts: 2,582
    edited March 2014
    Greener said:

    I'm trying to accomplish the following

    "The fighter temporarily raises his effective level by two. He temporarily gains the hit points, fighting ability and saving throws of a character two levels higher"

    I tried stripping down the "enrage" innate ability from the Berserker, I get part way but thats not very clean

    I then tried to use

    #96 (0x96) Stat: Level Change [96]
    Parameter #1: Statistic Modifier
    Parameter #2: Type
    Description:
    Applies the modifier value specified by the 'Statistic Modifier' field in the style specified by the 'Type' field.
    Known values for 'Type' are:
    0 Cumulative Modifier -> Level = Level + 'Statistic Modifier' value
    1 Flat Value Modifier -> Level = 'Statistic Modifier' value
    2 Percentage Modifier -> Level = (Level * 'Statistic Modifier' value) / 100

    Without success, any suggestions?

    that opcode must be used somewhere
    Edit: it's always helpful to see how it has been used ingame.

    ...i assume you had parameter#1=2 and #2=0.

    Maybe create it as an effect and use opcode 146 to cast it at self(?)
Sign In or Register to comment.