GI JOE RPG Launch
  1. #1

    breakagefactor vs breakage_factor?

    In the character law module, item breakfactor is stored as breakfactor, but record_item is using breakage_factor, and so the breakage factor isn't populating in the record.
    The RefManual tables show it correctly

    in record_item.xml
    Line 1570 should be breakfactor instead of breakage_factor
    Line 1616 should be breakfactor instead of breakage_factor

    Doing this lets the values show up correctly.

    I see in manager_item2.lua, function UpdateToCoreRPG lines 284-288 that you are trying to remove breakagefactor and replace with breakage_factor, but that doesn't fix the modules
    I see in manger_utilities.lua, function copyWeapon, lines 509-514 that you are doing some things as well with breakage_factor

    Bottom line is that the value from the module is breakfactor and it isn't showing up in the item record. Example, Leather Jerkin from Character Law
    aka Laendra

    (Discord: Laendra#9660)
    Ultimate license (FGC/FGU)
    Current Timezone : Central (CDT) (GMT -5)
    OP: 3317036507 / 2369539

    My opinions are my own and represent no entity other than myself

    I've suspended support for any extensions. It just isn't worth my time anymore to have to continually update them.
    Smiteworks has a developer relations problem (perceived or real) that needs to be fixed.


  2. #2
    Yeah, that is because when the module was redone the wrong field was used. I need to think of the best way to change it so that it doesn't break anything anyone created outside of the module.

  3. #3
    Is there an extension for a automatic break of a weapon/shield/equipment?

  4. #4
    Not that I am aware of.

  5. #5
    It would be interesting, the blacksmiths and merchants would appreciate the preference!

  6. #6
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    27,086
    Blog Entries
    1
    Quote Originally Posted by YAKO SOMEDAKY View Post
    It would be interesting, the blacksmiths and merchants would appreciate the preference!
    Inbuilt obsolesence!

  7. #7
    Quote Originally Posted by damned View Post
    Inbuilt obsolesence!
    Kind of like any extension code ever made...
    aka Laendra

    (Discord: Laendra#9660)
    Ultimate license (FGC/FGU)
    Current Timezone : Central (CDT) (GMT -5)
    OP: 3317036507 / 2369539

    My opinions are my own and represent no entity other than myself

    I've suspended support for any extensions. It just isn't worth my time anymore to have to continually update them.
    Smiteworks has a developer relations problem (perceived or real) that needs to be fixed.


Thread Information

Users Browsing this Thread

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

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
  •  
TALES of the VALIANT

Log in

Log in