Cosmere RPG Beta Launch
Page 20 of 20 First ... 10181920
  1. #191
    I would probably use a handler for the xp earned for each multiclass record to trigger it instead of what you did. Might be safer to not mess with that button.

  2. #192
    Quote Originally Posted by bayne7400 View Post
    I would probably use a handler for the xp earned for each multiclass record to trigger it instead of what you did. Might be safer to not mess with that button.
    Yeah, that's a good idea. I was just going for a quick-and-dirty solution with as little new code as possible.

  3. #193
    I noticed that the multiclass XP window only provided a single entry field for prime requisite bonus although the rules indicate each class should have its own XP bonus calculated individually, so I went ahead and added that in my own QoL extension. I've attached the corresponding file in case you or anyone else is interested. (This file also contains my hack to make multilevel characters auto-level on XP assignment the same as non-multiclass characters.)

    The relevant bit (apart from adding the new entry fields bonusclass1_field and bonusclass2_field) is here:

    <buttoncontrol name="Button1" merge="join">
    <script>
    function onClickRelease()
    super.onClickRelease();
    local nodeChar = window.getDatabaseNode();

    if window.multiclasscheck.getValue() == 1 then

    local nXp1 = DB.getValue(nodeChar, "xpclass1", 0);
    local nBonus1 =(window.bonusclass1_field.getValue()) / 100;
    nXp1 = math.floor((nXp1 * (1 + nBonus1)) + 0.5);
    DB.setValue(nodeChar, "xpclass1", "number", nXp1);

    local nXp2 = DB.getValue(nodeChar, "xpclass2", 0);
    local nBonus2 =(window.bonusclass2_field.getValue()) / 100;
    nXp2 = math.floor((nXp2 * (1 + nBonus2)) + 0.5);
    DB.setValue(nodeChar, "xpclass2", "number", nXp2);
    Attached Files Attached Files

  4. #194
    And currently, multiclassed characters don't have xp for next level in Party Sheet
    XP Multiclass.jpg

  5. #195
    Yeah going to have to rough it on that one

  6. #196
    Alright I added the bonus for each class. There is a strong chance this ruleset gets a total revamp, FYI.

Page 20 of 20 First ... 10181920

Thread Information

Users Browsing this Thread

There are currently 3 users browsing this thread. (0 members and 3 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
DICE PACKS BUNDLE

Log in

Log in