Giter VIP home page Giter VIP logo

Comments (3)

Grimdhex avatar Grimdhex commented on August 19, 2024

We need a lot of more research about it before to confirm the issue. The main reason is simple : pets and other player creatures use stats such as strength, agility... because it's based on the player's stats. But there is no template or any stats values defined for all creatures in the DB and i'd be surprised if Blizzard defined stats for every creature of this kind since it's never been found in sniffs or DBCs.

from azerothcore-wotlk.

heyitsbench avatar heyitsbench commented on August 19, 2024

Creature stats do show up in sniffs. If you charm a creature (mind control and enslave work for it, pets (but not guardians) as well), then the stats will be sent in an SMSG_UPDATE_OBJECT packet for that particular creature. Not only has CMaNGOS already begun the process of implementing this functionality, but they also went through the trouble of collecting those stats where they could. I also did some stat collection, but I don't have any values for the rogue creature class since no pets fall under that (creature stats are unique for class/level).

EDIT: I will however be the first to say that more research is absolutely needed on how those stats are actually used; one side effect of CMaNGOS's implementation is that they had to basically turn off its use of the stamina stat since it impacted health of creatures a bit too much in an incorrect manner, though afaik the other stats are pretty well nailed down.

from azerothcore-wotlk.

Grimdhex avatar Grimdhex commented on August 19, 2024

Ok, I wasn't aware that these values existed in sniffs before today ^^.

I'm already working on a basic implementation. I just need to make sure the calculations are right, and that it's compatible if the creature doesn't have any data.

I haven't looked at what cmangos has done yet, but I do need to think about the stamina part. Could you contact me on Discord and send me an example of this sniff so that I can see exactly how the data is structured?

from azerothcore-wotlk.

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.