Stats new class

07/25/2018 13:27 pauvm1618#1
Can someone tell me at least where are the stats of the new class? I've been searching all over the project but I can't find it. Because when I attack it says: not enough mp to attack, and I find no solution
07/25/2018 14:07 GGGGame#2
:lul:I bet if they released a source where the 4th class attacks, they would all change source
07/25/2018 14:24 pauvm1618#3
Maybe I would, what's the problem? I mean, if you don't want to help me, you can just skip this post, no one is forcing you to ask. You guys always find problems where there aren't. I'm just asking where can I find it, I'm trying to learn (I'm young, i'd like to learn) how it works. But if you can't just say me where it is, i won't be able to learn and to grow. I'm asking for help, nothing else
07/25/2018 21:57 0Lucifer0#4
It’s not in the source... the project was closed some month ago so there is no new class stats somewhere in the project... this is the reason why you get this message. Try to understand how it’s done for another class and you just need to replace some array
07/26/2018 10:57 pauvm1618#5
Where? I mean where do I look for the other classes
07/26/2018 11:26 0Lucifer0#6
You know there is a control+f for research... [Only registered and activated users can see links. Click Here To Register...]
07/26/2018 12:07 pauvm1618#7
EDIT

I was wring, I found the vnums of the skills but doesn't work yet. What's the problem??
07/27/2018 05:50 0Lucifer0#8
You need to fix the file I gave you to have all new class stats...
07/27/2018 10:01 pauvm1618#9
And I took a look and everything looked fine but it still doesnt work
07/27/2018 10:45 0Lucifer0#10
Because you don’t understand what it does...
07/27/2018 11:30 Pumba98#11
Take a look at LoadHpData,LoadHpHealth,LoadHpHealthStand etc
07/27/2018 14:03 pauvm1618#12
I understand it lucifer, i know a bit about reading the code (i did a course this summer) so I know a bit. I've changed some things now let's see if it works
07/27/2018 16:03 erixor#13
Quote:
Originally Posted by pauvm1618 View Post
I understand it lucifer, i know a bit about reading the code (i did a course this summer) so I know a bit. I've changed some things now let's see if it works
- Add a value to the ClassType enum

In the CharacterHelper class

- Add new class stats in LoadHpData Method
- Add new class stats in LoadHpHealt Method
- Add new class stats in LoadHpHealthStand Method
- Add new class stats in LoadMpData Method
- Add new class stats in LoadMpHealth Method
- Add new class stats in LoadMpHealthStand Method
- Add new class stats in LoadStats Method
- Define the attack type in the GetClassAttackType Method

In the Character class

- Add a case to the switch in the WeaponLoaded method (a basic return true in the case should do the trick)

A bit of research would have given you the answer, this actually seems pretty logic to anyone who can "read the code", but reading != understanding.
07/28/2018 15:01 pauvm1618#14
Okey it's working, but how can I make the default skill of the new class the one whose vnum is 1525?
07/29/2018 02:16 redbull2905#15
I did not succeed I did everything he said there is always the message of the mp