Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: DFHack/scripts
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: Amostubal/scripts
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 2 commits
  • 1 file changed
  • 1 contributor

Commits on Oct 21, 2017

  1. Merge pull request #2 from DFHack/master

    merging the master with my branch.
    Amostubal authored Oct 21, 2017
    Configuration menu
    Copy the full SHA
    e903b9c View commit details
    Browse the repository at this point in the history
  2. Update skill-change.lua

    Fixes a number of small issues:
    1. rating now increases if exp exceeds the exp needed for the rating.
    2. -verbose option - turns on and off the little messages for DFHack that appear all over the script 
    3. -max value option - allows the user to state what is the max rating the user of this script will allow it to change it to (ignored if not set)
    4. -reduce yes/no option - (default answer is no)
    4a. if reduce.yes and unit old skill rating > max then the skill rating will get reduced to max at end of script.
    4b. if reduce.no and unit old skill rating => max then the script will stop and return a verbose message that no change occurs.
    Amostubal authored Oct 21, 2017
    Configuration menu
    Copy the full SHA
    96df0fd View commit details
    Browse the repository at this point in the history
Loading