GI JOE RPG 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.

  7. #197
    Hello,
    How does it work? Because I don't see any changes after the update.

  8. #198
    See Image. Try updating again and let me know!
    Attached Images Attached Images
    Last edited by bayne7400; October 26th, 2024 at 16:17.

  9. #199
    It works ! Thank you very much bayne7400

  10. #200

Page 20 of 20 First ... 10181920

Thread Information

Users Browsing this Thread

There are currently 8 users browsing this thread. (1 members and 7 guests)

  1. Nick Frost

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
  •  
Cosmere RPG Beta Launch

Log in

Log in