Page 3 of 3

Re: Class Points

Posted: Fri Jul 22, 2016 12:54 pm
by Ratief
This is very helpful! Currently all class points behave like druid points as those are the only ones I knew how they worked.

I don't think that the druid points were on a 2 minute regen. The text that I've seen specify a full regen over time based on your level. That is why in the code you will see an array of regen times (class_points_delta_times). The function that I used is this.
f(level,current_points)=6000-((level-1)*24)/20*1000

Also, for druids I thought that they started out with 20 and got 1 point every level starting at 10 with a max of 60 (maxed out at level 50). That is currently how it works in the code and I'm pretty sure that is correct.

When I get time, I will work on adding this. In case I never do, below is what needs to be changed.
ChunkServer_Attributes.cpp, ProcessRegen(): This is where the regen is actually done. The class point part will need to be expanded to include code for each class. A class points regen stat will also need to be created (I don't think there is one right now) to be used for regen stances and such. That is how I planned on it working so that the base regen is in code (only because it isn't fixed) and ability regen modifies the stat.
WorldCharacter_Attributes.cpp, AddAttribute() and UpdateAttributesLevelChange(): This is where the max values are done.

Re: Class Points

Posted: Fri Jul 22, 2016 1:26 pm
by Xinux
[quote]
Also, for druids I thought that they started out with 20 and got 1 point every level starting at 10 with a max of 60 (maxed out at level 50). That is currently how it works in the code and I'm pretty sure that is correct.
[/quote]

Looked at a level 40 druid and in the logs he had 60 points then looked at a level 1 druid and he had 20.

Re: Class Points

Posted: Fri Jul 22, 2016 2:09 pm
by Ratief
That is interesting because I thought that I went through logs to find when the points started going up and I thought that I found level 10. It have been a long time though so I could be wrong about that.

Re: Class Points

Posted: Fri Jul 22, 2016 5:29 pm
by Starcrusher
Pretty sure we started getting points @ 10 or 11

Re: Class Points

Posted: Sat Jul 23, 2016 4:46 am
by elcapitan

Re: Class Points

Posted: Sat Jul 23, 2016 5:44 am
by Ratief
That page doesn't have anything to do with class points.

Re: Class Points

Posted: Wed Aug 03, 2016 1:01 pm
by Faux
[quote="Xinux"]When you start working on this again Faux.

Druid: Phenomena Points
Level 1 20 points
Gain 1 point per level up to level 40 for a max of 60
Regen 2 per minute

Paladins: Virtue Points
25 points total regen 1 per minute

Cleric: Turning Attempts
Level 1 1 point
Gain 1 at level 2,3,4,5,6 for a total of 6
Regen 1 every 100 minutes

Monk: Jin
Certain stances can also generate Jin even outside of combat otherwise jin gained by combat abilities.

Bard: Combat Form
viewtopic.php?f=65&t=2146&p=19124&hilit=point#p19124

Blood Mage: Blood Union
viewtopic.php?f=65&t=2146&p=19124&hilit=point#p19124[/quote]

Good info, Xinux,
I'm finally settled in at the new job and have time again to get some commits going. I'll be continuing with some spell casting basics and a lot of this stuff will fall into place with that. I have the debuff timing system working locally now and next I will have to implement default stats and attributes for npcs so we can start testing for working debuffs.

Forms will come after the vast majority of class spells can be scripted.