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

feat(fight): Add trap effect (#27) #287

Merged
merged 4 commits into from
May 30, 2023

Conversation

vincent4vx
Copy link
Member

No description provided.

@@ -72,11 +77,12 @@ public final Castable action() {
}

@Override
public final Optional<Spell> spell() {
@Pure
public final @Nullable Spell spell() {

Choose a reason for hiding this comment

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

:(

Copy link
Member Author

Choose a reason for hiding this comment

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

Je ne suis pas fan de l'API optional, et checkerframework apporte une bonne sécurité compile time, ce que je préfère. Mais bon l'idéal reste une vraie gestion native un peu comme en Kotlin, même si ça n'arrivera jamais en java 😢

@codecov
Copy link

codecov bot commented May 30, 2023

Codecov Report

Patch coverage: 97.41% and no project coverage change.

Comparison is base (c90a051) 96.08% compared to head (b3f7076) 96.09%.

Additional details and impacted files
@@            Coverage Diff             @@
##             master     #287    +/-   ##
==========================================
  Coverage     96.08%   96.09%            
- Complexity     8337     8414    +77     
==========================================
  Files          1322     1329     +7     
  Lines         21159    21413   +254     
  Branches       1265     1286    +21     
==========================================
+ Hits          20330    20576   +246     
- Misses          635      640     +5     
- Partials        194      197     +3     
Impacted Files Coverage Δ
.../java/fr/quatrevieux/araknemu/game/GameModule.java 100.00% <ø> (ø)
.../simulation/effect/AlterActionPointsSimulator.java 100.00% <ø> (ø)
...imulation/effect/AlterCharacteristicSimulator.java 100.00% <ø> (ø)
...ame/fight/ai/simulation/effect/ArmorSimulator.java 100.00% <ø> (ø)
...me/fight/ai/simulation/effect/DamageSimulator.java 100.00% <ø> (ø)
...game/fight/ai/simulation/effect/HealSimulator.java 100.00% <ø> (ø)
...ight/ai/simulation/effect/PunishmentSimulator.java 100.00% <ø> (ø)
...ht/ai/simulation/effect/RemovePointsSimulator.java 100.00% <ø> (ø)
.../fight/ai/simulation/effect/SetStateSimulator.java 100.00% <ø> (ø)
...fight/ai/simulation/effect/StealLifeSimulator.java 100.00% <ø> (ø)
... and 41 more

... and 3 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@vincent4vx vincent4vx merged commit d3d5580 into Arakne:master May 30, 2023
@vincent4vx vincent4vx deleted the feature-fight-effect-trap branch May 30, 2023 17:15
ArleeDev pushed a commit to ArleeDev/Araknemu that referenced this pull request Mar 7, 2024
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