GithubHelp home page GithubHelp logo

vhou-atroph / tt-damage-calculator Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 1.0 6.6 MB

Gag damage calculator for Toontown Rewritten

Home Page: https://vhou.gloop.group/projects/gagcalc

License: GNU General Public License v3.0

Python 72.56% Rust 25.94% Makefile 1.50%
toontown toontown-rewritten ttr python toontown-online calculator gags cogs toontownrewritten pyo3

tt-damage-calculator's Introduction

Vhou-Atroph

Top Langs

tt-damage-calculator's People

Contributors

boggotv avatar vhou-atroph avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

skylimetime

tt-damage-calculator's Issues

[Enhancement] In-Program Hotkey Binding

Is your feature request related to a problem? Please describe.
It is currently unable to bind hotkeys while the program is open.

Describe the solution you'd like
Make it possible to bind hotkeys in a settings menu.

Describe alternatives you've considered
Currently, the only alternative is to do so in the settings.toml file, which is not as accessible.

[Enhancement] Gag Removal Functionality

I want to say thanks and kudos for listening to my feedback - I think this is becoming a extremely useful cross-platform utility, especially since most gag calculators are either web based, TTO-only, or are made for Windows.

I have another suggestion to further increase time-efficiency - now that gags are quantified by numbers in the UI, it may be useful and expedient if a right click (or a alternate mode) could remove a gag from the calculation - so the player can quickly undo mistakes or try different combinations without having to re-click every gag all over again via pressing "reset damage". This can be a bit annoying when brute-forcing combos, especially when you're strapped for time and communication. It'd also be fairly nice and intuitive compared to having to click the "reset damage" button all the time.

Example:
3 cakes selected (360 dmg)
Right-click cake icon
A cake is removed from the calculation, so it shows the result for 2 cakes (240 dmg)

The only real obstacle might be keeping track of organic calculations - but I am not versed in the code enough to know if this is a issue. I personally think right-clicking is the best way to handle this, as right-clicking currently has no functions, and many users may instinctually try right-clicking. (It's also faster then a dedicated mode, of course.)

Tomli install instructions

Every person I have linked the calculator to in the past week has needed help installing tomli for the calculator to work. Please consider adding a short instructions file or a section to the readme explaining how to do this
In the meantime, I will paste installation instructions directly to this issue for anyone who needs them
Taken from https://stackoverflow.com/questions/27409192/install-python-modules-package-using-idle-on-windows

  • Windows

At the command prompt enter

py -3 -m pip install tomli

  • Linux

At the terminal enter

sudo python3 -m pip install tomli

[Enhancement] Snowball gag

Is your feature request related to a problem? Please describe.
During the Holidays, Toontown Rewritten adds a "Snowball" throwable object. This is also usable during battles and do 1 damage with no group or lure bonuses. There is no way to add a snowball for a 1 damage point increase in the current calculator.

Describe the solution you'd like
Add a button under the "Calculations" menu that allows the user to "throw a snowball" and add one point of damage to the damage total.

Describe alternatives you've considered

  • nogroup i64 value for adding values together that do not have a group damage or lure bonus.

Additional context
ive been meaning to add this for like a year now- maybe making an issue will motivate me to actually work on it lmao

[Enhancement] Live Calculation and Cog HP Comparison

This program is a interesting little starting point, but I think it needs two major features to help it truly shine.

Live Calculation - Calculate damage on-the-fly, rather then requiring the "calculate" button. This is a huge timesaver, as you could simply click a gag until you have enough to defeat a cog, or rapidly find combinations on-the-fly.

Cog HP Comparison - While the "Show Health" table is nice, I think it's possible (if not easy) to automatically calculate the max level cog the calculated result can kill. Example: 198 damage (Kills up to Level 12)

v2.0 calculations always result in Will kill: false

Unless I am doing something wrong, it seems that no matter what gags I pick using a v2.0 calculation does not report if the Cog will be defeated. This should be modified to show if the outer "shell" of the v2.0 Cog will be defeated by the selected gags. Older versions when v2.0 was a checkbox worked as expected, so this may be a regression.

Version 2.0 cogs and defense

Currently, there is no support for the version 2.0 cogs in the CEO. A suggestion could be for a button to toggle off and on whether the cog is a 2.0 and what level the cog might be. For example, a button that enables 2.0s and opens a drop-down of 9-12 for 2.0 cogs wouldn't need any other levels since there are no 2.0 cogs lower than 9. Overall though the calculator is great. Just needs support for the 2.0 cogs.

Current defense formula does not work

The current formula used for defense is either inaccurate or not working in all cases.
According to the formula, a tnt and a cream pie should take out a defense buffed level 12, however a 2* field office has proved this incorrect.

Incorrect Wedding Cake damage value

Wedding Cake is currently set to 132 damage, and increases to 145 damage when organic. This is incorrect, Wedding Cake's damage is 120 and increases to 132 when organic
Internally, the Rocky SOS is also currently considered 120 damage when it should be 132. Even though this currently isn't a button on the calculator, this should still be fixed

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.