Skip to content
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

Outlaw's skills #333

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Outlaw's skills #333

wants to merge 8 commits into from

Conversation

Terotrous
Copy link
Contributor

Adds all 7 skills for outlaw and all of their abilities, including the removed ones.


hits.Add(skillHit);

target.StartBuff(BuffId.Common_Silence, skill.Level, 0, TimeSpan.FromMilliseconds(200 * skill.Level), caster);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In Peltasta's Langort you are using Silence_Debuff, is there a reason to use Common_Silence here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The skill_bytool for Outlaw specifically names Common_Silence as the debuff. Langort might be incorrect, as the comment indicates the buff is not in the bytool, so I may have chosen the wrong Silence debuff, though multiple buffs with the same effect in this game is not uncommon.

/// <summary>
/// Increases the buff's duration by a given amount.
/// </summary>
internal void IncreaseDuration(TimeSpan amount)
Copy link
Contributor

@kenedos kenedos Nov 14, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably better to merge IncreaseDuration() and ExtendDuration() into a single method.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree this is somewhat confusing and maybe the description should have been a little more clear, but ExtendDuration has several features we don't want here, most particularly that it resets the updatetime on the buff. We probably don't want to constantly call onExtend here either.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants