Add Charge elemental charge script to charge elemental charge for Warrior Mages#7300
Conversation
There was a problem hiding this comment.
Important
Looks good to me! 👍
Reviewed everything up to e047e14 in 13 seconds. Click for details.
- Reviewed
35lines of code in1files - Skipped
0files when reviewing. - Skipped posting
0draft comments. View those below. - Modify your settings and rules to customize what types of comments Ellipsis leaves. And don't forget to react with 👍 or 👎 to teach Ellipsis.
Workflow ID: wflow_2tiZIcF6FI4qC7nL
You can customize by changing your verbosity settings, reacting with 👍 or 👎, replying to comments, or adding code review rules.
Elysande1218
left a comment
There was a problem hiding this comment.
I removed the line that was causing the failure
- Rename class from Summoning to ChargeElementalCharge to avoid
overwriting the existing Summoning class in summoning.lic
- Replace raw fput('summon admittance')/waitrt? with
DRCS.summon_admittance which has proper error handling (retreat on
distracted, pause, waitrt, fix_standing) and prevents busy-looping
- Add nil guard for elemental_charge_room with user-facing message
- Remove fput('stand') since DRCS.summon_admittance calls fix_standing
- Add specs covering charge level checks, summon loop, class naming,
and nil room guard
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Updated description (post-review fixes applied)This script automates charging elemental charge for Warrior Mages. It walks to a configured room and loops Fixes appliedThe following issues were identified during review and have been fixed in the latest commit:
YAML settingselemental_charge_minimum_level: 6 # Target charge level (0-11, default: 6)
elemental_charge_room: 1234 # Room ID to walk to for charging (required)Test coverage7 specs added in
|
Script allows a warrior mage to charge their elemental charge to a specific level in a specific room.
Important
Add
charge-elemental-charge.licscript for Warrior Mages to automate charging elemental charge to a specified level in a specified room.charge-elemental-charge.licfor Warrior Mages to charge elemental charge to a specified level in a specified room.Summoningclass to automate charging process.Summoningclass initializes with settings forelemental_charge_minimum_levelandelemental_charge_room.initializemethod walks to the charging room and starts charging.done_charging?method checks if the elemental charge is at or above the minimum level.charge_elemental_chargemethod performs the charging loop until the desired level is reached.This description was created by
for e047e14. You can customize this summary. It will automatically update as commits are pushed.