User Tools

Site Tools


chivalry
# Chivalry Trainer v1.0 by FrankC
#
# What you need:
#
#
# 1) Tithing Points. Don't be cheap. Buy the max.
#
# 2) Chivalry Spellbook
#
# 3) Over 30.0 Chivalry. Buy it up if you do not have it.
#
# 4) A weapon in your hand.
#
# Once you have those Press Play. 
#
#

while True:
    Chivalry = Player.GetSkillValue('Chivalry')
    if Chivalry < 45 and Player.Mana > 10:
        Spells.CastChivalry('Consecrate Weapon')
        Misc.Pause(4500)
        
    elif Chivalry >= 45 and Chivalry < 60 and Player.Mana > 15:
        Spells.CastChivalry('Divine Fury')
        Misc.Pause(2000)   
   
    elif Chivalry >= 60 and Chivalry < 70  and Player.Mana > 20:
        Spells.CastChivalry('Enemy Of One')
        Misc.Pause(3000)  

    elif Chivalry >= 70 and Chivalry < 90  and Player.Mana > 10:
        Spells.CastChivalry('Holy Light')
        Misc.Pause(3000) 
        
    elif Chivalry >= 90 and Chivalry != Player.GetSkillCap('Chivalry') and Player.Mana > 20:
        Spells.CastChivalry('Noble Sacrifice')
        Misc.Pause(6000)         
   
    elif Chivalry == Player.GetSkillCap('Chivalry'):
        Misc.ScriptStop('Chivalry Trainer.py')
        
chivalry.txt · Last modified: 2025/02/25 22:20 by 127.0.0.1

Exception: Git command failed to perform periodic pull: hint: Pulling without specifying how to reconcile divergent branches is hint: discouraged. You can squelch this message by running one of the following hint: commands sometime before your next pull: hint: hint: git config pull.rebase false # merge (the default strategy) hint: git config pull.rebase true # rebase hint: git config pull.ff only # fast-forward only hint: hint: You can replace "git config" with "git config --global" to set a default hint: preference for all repositories. You can also pass --rebase, --no-rebase, hint: or --ff-only on the command line to override the configured default per hint: invocation. Warning: Permanently added 'github.com,140.82.113.4' (ECDSA) to the list of known hosts. From github.com:RazorEnhanced/razorenhanced.github.io * branch main -> FETCH_HEAD error: Your local changes to the following files would be overwritten by merge: doc/api/CUO.html doc/api/Gumps.html doc/api/Item.html doc/api/Items.html doc/api/Journal.html doc/api/Misc.html doc/api/Mobile.html doc/api/PacketLogger.html doc/api/PathFinding.html doc/api/Player.html doc/api/Spells.html doc/api/Target.html doc/api/Trade.html doc/api/Vendor.html Please commit your changes or stash them before you merge. Aborting

Exception: Git command failed to perform periodic pull: hint: Pulling without specifying how to reconcile divergent branches is hint: discouraged. You can squelch this message by running one of the following hint: commands sometime before your next pull: hint: hint: git config pull.rebase false # merge (the default strategy) hint: git config pull.rebase true # rebase hint: git config pull.ff only # fast-forward only hint: hint: You can replace "git config" with "git config --global" to set a default hint: preference for all repositories. You can also pass --rebase, --no-rebase, hint: or --ff-only on the command line to override the configured default per hint: invocation. Warning: Permanently added 'github.com,140.82.113.4' (ECDSA) to the list of known hosts. From github.com:RazorEnhanced/razorenhanced.github.io * branch main -> FETCH_HEAD error: Your local changes to the following files would be overwritten by merge: doc/api/CUO.html doc/api/Gumps.html doc/api/Item.html doc/api/Items.html doc/api/Journal.html doc/api/Misc.html doc/api/Mobile.html doc/api/PacketLogger.html doc/api/PathFinding.html doc/api/Player.html doc/api/Spells.html doc/api/Target.html doc/api/Trade.html doc/api/Vendor.html Please commit your changes or stash them before you merge. Aborting

An unforeseen error has occured. This is most likely a bug somewhere. It might be a problem in the gitbacked plugin.

More info has been written to the DokuWiki error log.