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

[AI] Implements missing effects simulators #308

Merged

Conversation

vincent4vx
Copy link
Member

No description provided.

@codecov
Copy link

codecov bot commented Sep 9, 2023

Codecov Report

Attention: 14 lines in your changes are missing coverage. Please review.

Comparison is base (a361e45) 96.22% compared to head (8f1886e) 96.26%.
Report is 8 commits behind head on master.

Files Patch % Lines
...trevieux/araknemu/game/fight/ai/action/Invoke.java 86.20% 1 Missing and 3 partials ⚠️
...ux/araknemu/game/fight/ai/action/AttractEnemy.java 95.83% 0 Missing and 3 partials ⚠️
...lation/effect/AddMaxSummonedCreatureSimulator.java 86.66% 0 Missing and 2 partials ⚠️
.../fight/ai/simulation/effect/MoveBackSimulator.java 94.44% 1 Missing and 1 partial ⚠️
...imulation/effect/StealCharacteristicSimulator.java 95.00% 0 Missing and 1 partial ⚠️
...lation/effect/SwitchPositionOnAttackSimulator.java 92.30% 0 Missing and 1 partial ⚠️
.../fr/quatrevieux/araknemu/game/monster/Monster.java 85.71% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master     #308      +/-   ##
============================================
+ Coverage     96.22%   96.26%   +0.04%     
- Complexity     8631     8847     +216     
============================================
  Files          1357     1385      +28     
  Lines         21912    22534     +622     
  Branches       1318     1390      +72     
============================================
+ Hits          21084    21693     +609     
- Misses          638      640       +2     
- Partials        190      201      +11     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@moonlight83340 moonlight83340 left a comment

Choose a reason for hiding this comment

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

En Français pour la fin, j'ai mal à la tête. J'ai mieux compris ce que t'as fait en tout lisant j'ai laisse 4 commentaires des trucs que j'ai mal compris ou bien des trucs que je pense qui sont bizarre de mon point de vue.

Copy link
Contributor

Choose a reason for hiding this comment

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

Null test for code coverage ?

@@ -231,6 +232,13 @@ public double selfBoost() {
return selfBoost;
}

/**
* The score of the invoked creature
Copy link
Contributor

Choose a reason for hiding this comment

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

Score ?

}

if (totalMaxLife == 0) {
return 1.0;
Copy link
Contributor

@moonlight83340 moonlight83340 Sep 20, 2023

Choose a reason for hiding this comment

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

Never test ? (Code coverage report)

@vincent4vx vincent4vx changed the title feat(ai): Handle invocation effect [AI] Implements missing effects simulators Dec 9, 2023
@vincent4vx vincent4vx merged commit fd41645 into Arakne:master Dec 26, 2023
8 checks passed
@vincent4vx vincent4vx deleted the feature-ai-implements-missing-effects branch December 26, 2023 15:19
ArleeDev pushed a commit to ArleeDev/Araknemu that referenced this pull request Mar 7, 2024
…issing-effects

[AI] Implements missing effects simulators
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