-
Notifications
You must be signed in to change notification settings - Fork 761
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update 1st classes #2726
Update 1st classes #2726
Conversation
U mean pre-re will also take this? I hope not. |
Could you please change this to a list of changes contained in this PR? This would simplify the review a lot. |
@Kenpachi2k13 sorry for the delay to edit :D @tlacson7 no, all changes comes only to renewal |
@@ -248,7 +248,7 @@ static void initChangeTables(void) | |||
status->set_sc( SM_AUTOBERSERK , SC_AUTOBERSERK , SCB_NONE ); | |||
add_sc( TF_SPRINKLESAND , SC_BLIND ); | |||
add_sc( TF_THROWSTONE , SC_STUN ); | |||
status->set_sc( MC_LOUD , SC_SHOUT , SCB_STR ); | |||
status->set_sc( MC_LOUD , SC_SHOUT , SCB_STR ); // i made a mistake here, aparently SCB_WATAK don`t need to be pass |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this comment is confusing, I didn't get it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i THINK on my first implementation i set SCB_STR|SBC_WATK but realize that isn't needed for the atk bonus
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After I applied the diff I got an error where the +ATK wouldn't count unless I unequiped and equiped the weapon. Therefore I thinks is better to set the SCB_* here.
I also have changed the SCB_WATK to SCB_BATK and now its working fine. So the new line should be:
status->set_sc( MC_LOUD , SC_SHOUT , SCB_STR | SCB_BATK );
src/map/status.c
Outdated
//TODO: test the aspd inc | ||
#ifdef RENEWAL | ||
if (sc->data[SC_INC_AGI]) | ||
aspd_rate += sc->data[SC_INC_AGI]->val1 * 10; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove a TAB here so it stay with the same indentation as the rest of the code
@@ -248,7 +248,7 @@ static void initChangeTables(void) | |||
status->set_sc( SM_AUTOBERSERK , SC_AUTOBERSERK , SCB_NONE ); | |||
add_sc( TF_SPRINKLESAND , SC_BLIND ); | |||
add_sc( TF_THROWSTONE , SC_STUN ); | |||
status->set_sc( MC_LOUD , SC_SHOUT , SCB_STR ); | |||
status->set_sc( MC_LOUD , SC_SHOUT , SCB_STR ); // i made a mistake here, aparently SCB_WATAK don`t need to be pass |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After I applied the diff I got an error where the +ATK wouldn't count unless I unequiped and equiped the weapon. Therefore I thinks is better to set the SCB_* here.
I also have changed the SCB_WATK to SCB_BATK and now its working fine. So the new line should be:
status->set_sc( MC_LOUD , SC_SHOUT , SCB_STR | SCB_BATK );
|
||
#ifdef RENEWAL | ||
if (sc->data[SC_SHOUT]) | ||
watk += sc->data[SC_SHOUT]->val2; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have changed this watk to batk for a better use:
if (sc->data[SC_SHOUT])
batk += sc->data[SC_SHOUT]->val2;
But this should be added under the batk section, therefore after (line 5065 in my case - may differ):
if (sc->data[SC_SHRIMP])
batk += batk * sc->data[SC_SHRIMP]->val2 / 100;
@@ -199,11 +199,11 @@ static void initChangeTables(void) | |||
add_sc( MG_STONECURSE , SC_STONE ); | |||
add_sc( AL_RUWACH , SC_RUWACH ); | |||
add_sc( AL_PNEUMA , SC_PNEUMA ); | |||
status->set_sc( AL_INCAGI , SC_INC_AGI , SCB_AGI|SCB_SPEED ); | |||
status->set_sc( AL_INCAGI , SC_INC_AGI , SCB_AGI|SCB_SPEED); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing SCB_ASPD:
status->set_sc( AL_INCAGI , SC_INC_AGI , SCB_AGI|SCB_SPEED|SCB_ASPD );
#ifdef RENEWAL | ||
if (sc->data[SC_INC_AGI]) | ||
aspd_rate += sc->data[SC_INC_AGI]->val1 * 10; | ||
#endif |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The formula is not working properly.
I Have changed to (under the aspd bonus in the bottom of the section **// ASPD percentage values**
):
if (sc->data[SC_INCREASEAGI])
bonus += sc->data[SC_INC_AGI]->val1;
Superseded by #3218 (currently available in the |
Pull Request Prelude
Changes Proposed
1. Swordsman
1.1 Magnum Break
2. Merchant
2.1 Crazy Uproar
3. Mage
3.1 Fire Bolt/ Cold Bolt/ Lightning Bolt
3.2 Thunderstorm
3.3 Fire Ball
3.4 Soul Strike
3.5 Frost Diver
4. Acolyte
4.1 Blessing
4.2 Increases Agility
4.3 Angelus
4.4 Holy Light
Issues addressed: #2725