Coder Social home page Coder Social logo

Comments (5)

Pajamaman avatar Pajamaman commented on August 22, 2024

Aha, I think I figured the answer to the first part of my question. unk_16B2A is probably the number of initial hit die for each class, since the ranger gets 2. The last one must be for the monk, which is the only other class I'm aware of that gets 2.

unk_16B32 is probably hit die type. It's odd that the monk would be assigned a d4, but since it never made it into the final game maybe it's not so odd.

I'm still totally confused what classMasks is for!

from coab.

simeonpilgrim avatar simeonpilgrim commented on August 22, 2024

it's used for bit stuffing, each item is a single bit, thus showing it in hex. Yes monk was the last class type, but it's not allowed in game.

They where pretty much 100% compliant with the AD&D v1 rules.

from coab.

simeonpilgrim avatar simeonpilgrim commented on August 22, 2024

If something is left with it's original memory location as it's name it means:

A) I didn't know what it was for, and by know I mean 99% sure.
B) I did know, but didn't care once I'd worked it out.

from coab.

simeonpilgrim avatar simeonpilgrim commented on August 22, 2024

if you load the code in VS you can do a Find References and see all the places it's used, makes these things make easier to workout... Then you can F2 rename, for the win.

from coab.

Pajamaman avatar Pajamaman commented on August 22, 2024

Fair enough!

Regarding the discrepancies with OSRIC, I just realized the code that calculates hit points (sub_509E0 function in ovr018.cs) checks that the current class level is below the value in max_class_hit_dice, so it makes perfect sense that each is off by 1 :)

from coab.

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.