Giter Club home page Giter Club logo

Comments (7)

pinkestt avatar pinkestt commented on June 17, 2024

I wonder whether remaining duration is stored anywhere. I suppose if it's not there's always the option of storing the start time and total duration (I'm guessing that's stored? Otherwise it could be looked up in a table based on skill+rank) and calculating it from that.

from kanan-new.

Rietty avatar Rietty commented on June 17, 2024

@pinkestt I don't believe it's stored anywhere, but you can do it in a way with a config file set to that person's specific buff duration and simply note start time instead. That's the easiest way to accomplish it, and what the Chinese mod called Tin does.

Calculating based on skill rank won't work because their is a lot of enchant modifiers and reforges that extend buff duration.

from kanan-new.

SkelemanBaron avatar SkelemanBaron commented on June 17, 2024

There are some buffs (Again, Soul Link) you can check the remaining duration of in the character window if you hover over the icon, so surely those are stored somewhere at the very least.

from kanan-new.

Aahzmandius avatar Aahzmandius commented on June 17, 2024

Cursey was nice enough to add a barebones packet listener branch, which means you just need to start up mabi using morrighan.
https://github.com/cursey/kanan-new/tree/alissa-listener

So with a little effort you could listen for the buff packets to start timers and stuff. I started on it a couple months ago, but got distracted adding in a graphics lib to draw skill icons in the status UI. Then work got busy and I haven't messed with it since.

from kanan-new.

cursey avatar cursey commented on June 17, 2024

Yeah that would probably be the easiest way to implement this. There are some components included in the player entity that might have the information for buffs but reversing them is time consuming and the structures do change fairly often.

from kanan-new.

LoneDev6 avatar LoneDev6 commented on June 17, 2024

Could we include this https://github.com/cursey/kanan-new/tree/alissa-listener in the latest version of kanan-new ?

from kanan-new.

cursey avatar cursey commented on June 17, 2024

I don't see why not. It doesn't really do anything yet though which is why I haven't merged it yet.

from kanan-new.

Related Issues (20)

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.