Comments (6)
Fixed, I forgot to use the weapon's skill type within the getDefense function, meaning that players would have defense skill = 2 when using a giant sword (the skill type).
https://github.com/TwistedScorpio/Nostalrius/commit/000460265cdc954b09b62378644869f355cbd862
from nostalrius.
shouldn't fightmode_balance be in this statement?
int32_t Player::getDefense()
if (attackMode == FIGHTMODE_ATTACK) { totalDefense -= 4 * totalDefense / 10; } else if (attackMode == FIGHTMODE_DEFENSE) { totalDefense += 8 * totalDefense / 10; }
from nostalrius.
also what about blocking 1 monster for weapon, and 2 if have shield
from nostalrius.
shouldn't fightmode_balance be in this statement?
int32_t Player::getDefense()
if (attackMode == FIGHTMODE_ATTACK) { totalDefense -= 4 * totalDefense / 10; } else if (attackMode == FIGHTMODE_DEFENSE) { totalDefense += 8 * totalDefense / 10; }
No, balance fightmode makes no changes to the total defense or total attack of a player, only the others two do.
also what about blocking 1 monster for weapon, and 2 if have shield
This is already working and is accurate, this was the only issue by wielding two handed weapons the player skill used in the formulas was less than 10 hence why you kept getting ridiculous damage, if you find any other issues related, please, let me know.
from nostalrius.
also i did some tests again with full rare set on
43 shielding (full def) a monk hits for around 66
100 shielding (full def) a monk hits for around 70
from nostalrius.
Broken Link
Fixed, I forgot to use the weapon's skill type within the getDefense function, meaning that players would have defense skill = 2 when using a giant sword (the skill type).
https://github.com/TwistedScorpio/Nostalrius/commit/000460265cdc954b09b62378644869f355cbd862
from nostalrius.
Related Issues (20)
- Magic Field Mechanics HOT 1
- House auction HOT 19
- fire on rope place HOT 1
- Damage formulas HOT 2
- Guildhall System (enhancement) HOT 1
- Building
- Receive parcels issue.
- Problems saving players and problems with otc HOT 2
- throw distance HOT 2
- compilation error ubuntu HOT 2
- disappearing ladder HOT 2
- Full Containers bug HOT 1
- Demon parchment quest demons is borning dead HOT 2
- Problem with saving character HOT 1
- asd
- If your first backpack is full, items will fall on the ground even if you have an empty backpack in your full backpack HOT 3
- BUG Crash HOT 4
- bug with skills after becoming knight or pally
- How can I create a crash log on linux? Using nostalrius 7.7 HOT 2
- Bug Clone Item. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nostalrius.