- Posts: 217
- Thank you received: 22
Please Log in or Create an account to join the conversation.
Papaya Pete wrote: So I'm working on a new score sheet, and I think it looks a lot better than just plain text in a large paragraph. There's one question I had though, and it's about saving throws.
I figured out what functions get the class, level, and so on of the player (GET_CLASS, GET_LEVEL, GET_RACE, etc.). What is the function that is used to get the player's saving throws?
Edit:
Exciting! I believe I found it! Nevermind! But I'll post the function here just in case anyone else wants to know... though I have the feeling that I might be the only one who didn't know.
Its a function in class.c called...
saving_throws(int class_num, int type, int level)
So to call a saving throw for a character, in this case paralyzation:
saving_throws(GET_CLASS(ch), 0, GET_LEVEL(ch))
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
tbaMUD © 2024