lillecarl
Members-
Posts
893 -
Joined
-
Last visited
-
Donations
0.00 GBP
Content Type
Profiles
Bug Tracker
Wiki
Release Notes
Forums
Downloads
Blogs
Events
Everything posted by lillecarl
-
[Mangos One]Auto start event like bg
lillecarl replied to TNicK's topic in OldInstallation, configuration & upgrades
Players start bg's.... -
[Discussion] Changes to db-scripts and condition system
lillecarl replied to Auntie Mangos's topic in OldCore modifications
Well then just reserve a thousand? -
[Discussion] Changes to db-scripts and condition system
lillecarl replied to Auntie Mangos's topic in OldCore modifications
@Vlad Are condition id's called from the core via hardcoded ids somewhere you mean? -
[Discussion] Changes to db-scripts and condition system
lillecarl replied to Auntie Mangos's topic in OldCore modifications
Schmoo, is the intention that the mangos team should start maintaining the conditions system? Because otherwise it doesnt really matters, then its the database teams individual "problem"? -
[Mangos One]Auto start event like bg
lillecarl replied to TNicK's topic in OldInstallation, configuration & upgrades
Bg events? what is that? -
I just had this thought, about DBC values. I remember i read a commit when we replaced a dbc value. I think this could be done in database way? Im not that smart/good with programming so i can come up with a general solution for this, but isnt it better to put those kinds of code to the database instead?
-
[Discussion] Changes to db-scripts and condition system
lillecarl replied to Auntie Mangos's topic in OldCore modifications
Does it really matter that there are data mismatch between the database projects? Just put the "initial filler" to the repo and let the database developers use it? -
[Mangos One]Spell Crowd control (random movemente bug)
lillecarl replied to Auntie Mangos's topic in OldBug reports
I think the movement generators use mmaps nowadays, which means they will generate other paths then those through stuff. Getting mmaps should solve some of your problems. -
As schmo said, your database is not up to date.
-
Haha forgot to tell you its in statsystem.cpp.
-
You have it there. Just search for the function name.
-
[Discussion] Changes to db-scripts and condition system
lillecarl replied to Auntie Mangos's topic in OldCore modifications
Never mind, i were thinking of another solution. But maby your's is smarter ^^, -
void Player::UpdateDodgePercentage() { const float dodge_cap[MAX_CLASSES] = { 88.129021f, // Warrior 88.129021f, // Paladin 145.560408f, // Hunter 145.560408f, // Rogue 150.375940f, // Priest 88.129021f, // DK 145.560408f, // Shaman 150.375940f, // Mage 150.375940f, // Warlock 0.0f, // ?? 116.890707f // Druid }; float diminishing = 0.0f, nondiminishing = 0.0f; // Dodge from agility GetDodgeFromAgility(diminishing, nondiminishing); // Modify value from defense skill (only bonus from defense rating diminishes) nondiminishing += (GetSkillValue(SKILL_DEFENSE) - GetMaxSkillValueForLevel()) * 0.04f; diminishing += (int32(GetRatingBonusValue(CR_DEFENSE_SKILL))) * 0.04f; // Dodge from SPELL_AURA_MOD_DODGE_PERCENT aura nondiminishing += GetTotalAuraModifier(SPELL_AURA_MOD_DODGE_PERCENT); // Dodge from rating diminishing += GetRatingBonusValue(CR_DODGE); // apply diminishing formula to diminishing dodge chance uint32 pclass = getClass()-1; float value = nondiminishing + (diminishing * dodge_cap[pclass] / (diminishing + dodge_cap[pclass] * m_diminishing_k[pclass])); value = value < 0.0f ? 0.0f : value; if (value > 0.5f) value = 0.5f SetStatFloatValue(PLAYER_DODGE_PERCENTAGE, value); }
-
I checked from mangos one, ill look into the master code.
-
I suppose, but i havent looked into it. I wich you good luck:)
-
edit void Player::UpdateDodgePercentage() to look like this: void Player::UpdateDodgePercentage() { // Dodge from agility float value = GetDodgeFromAgility(); // Modify value from defense skill value += (int32(GetDefenseSkillValue()) - int32(GetMaxSkillValueForLevel())) * 0.04f; // Dodge from SPELL_AURA_MOD_DODGE_PERCENT aura value += GetTotalAuraModifier(SPELL_AURA_MOD_DODGE_PERCENT); // Dodge from rating value += GetRatingBonusValue(CR_DODGE); value = value < 0.0f ? 0.0f : value; if (value > 0.50f) value = 0.50f SetStatFloatValue(PLAYER_DODGE_PERCENTAGE, value); } edit this to fit your needs: if (value > 0.50f) value = 0.50f (0.50f = 50%)
-
[Discussion] Changes to db-scripts and condition system
lillecarl replied to Auntie Mangos's topic in OldCore modifications
What if we would have a columb where we could specify more then one link target? -
Does the same apply for 2.4.3?
-
[Discussion] Changes to db-scripts and condition system
lillecarl replied to Auntie Mangos's topic in OldCore modifications
faramir, i think C#/Mono would do fine, and if you could write it working well with mono. There would be no problem at all! =) -
Yeah, well i just think it's wierd! I belive you, computers were once logic, then something happened!
-
MangosZero Character db question
lillecarl replied to Pyrosma's topic in OldInstallation, configuration & upgrades
Yeah, i had a 1.12 server once, and it was very wierd. To bad i dont know at all where crit is calculated tho, but if you could write a good bug report HERE it would be awesome, because then someone more skilled could possibly take a look at the problem, GL with writing! -
MangosZero Character db question
lillecarl replied to Pyrosma's topic in OldInstallation, configuration & upgrades
character_stats is populated only if you specify in the config (for easier armory page creation etc..) But yes i have also noticed crit is scaling completely wrong. But it doesnt have to do with the character_stats table. -
DaC how can that give correct? strtoupper doesnt it make the entire string uppercase?
-
one byte is 8 bit, i think that might be the reason ^^,
Contact Us
You can also email us at [email protected]
Privacy Policy | Terms & Conditions
This website is in no way associated with or endorsed by Blizzard Entertainment®