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: hazard system #1091

Merged
merged 7 commits into from
May 20, 2023
Merged

feat: hazard system #1091

merged 7 commits into from
May 20, 2023

Conversation

dudantas
Copy link
Member

@dudantas dudantas commented May 10, 2023

Description

This modification introduces the implementation of the Hazard System. The Hazard System is an advanced game mechanic that offers players the opportunity to increase the difficulty and rewards of their hunts in Gnomprona.

The system allows players to increase the hazard level of a hunt, which both increases the damage dealt by monsters and the amount of loot and experience rewards received. The hazard level is adjusted individually by players, but in a team, it's the lowest hazard level among the players that counts for the whole team.

The benefits of increasing the hazard level include greater loot and experience, as well as a higher chance of spawning a Plunder Patriarch when killing a monster. However, with a higher hazard level, all damage dealt by monsters increases, as does the chance for monsters to land critical hits and dodge attacks. Furthermore, the chance of generating Primal Pods when killing a creature increases with a higher hazard level.

Additionally, this modification also implements the mechanic associated with the "Primal Ordeal" quest, where players must defeat the boss "The Primal Menace" to increase hazard qualification. The recommended combat strategy includes focusing on the Primal Pack Beasts, and dealing with the threats of Primal Pods that can transform into the powerful Fungosaurus creature.

Example of use in monster:

monster.hazard = {
	criticalChance = 10.5, -- 10,5%
	canDodge = true, -- Activate/deactivate crit possibility on the animal
	canSpawnPod = true, -- Enable/disable possibility to drop spawn pod when killing the bug
	canDealMoreDamage = true -- Enable/Disable Increased Damage
}

Behaviour

Actual

Not have hazard system.

Expected

Added hazard system

Type of change

Please delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I checked the PR checks reports
  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings

dudantas added a commit to beats-dh/canary that referenced this pull request May 10, 2023
@dudantas dudantas changed the title feat: hazard system feat: hazard system + new skills from 12.72 May 11, 2023
@Dengow-Matt

This comment was marked as off-topic.

@dudantas

This comment was marked as off-topic.

@murilo09 murilo09 marked this pull request as draft May 16, 2023 22:52
@dudantas dudantas changed the title feat: hazard system + new skills from 12.72 feat: hazard system May 20, 2023
@dudantas dudantas marked this pull request as ready for review May 20, 2023 16:43
@dudantas dudantas force-pushed the feat-hazard-system branch from b4e467f to 48b90e3 Compare May 20, 2023 17:13
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 22 Code Smells

0.0% 0.0% Coverage
2.8% 2.8% Duplication

@dudantas dudantas merged commit 2fe82e4 into opentibiabr:main May 20, 2023
dudantas added a commit that referenced this pull request May 20, 2023
Fixes crash on "addExperience" function related to #1091 and 2fe82e4
enzerah pushed a commit to enzerah/canary that referenced this pull request May 21, 2023
This modification introduces the implementation of the Hazard System. The Hazard System is an advanced game mechanic that offers players the opportunity to increase the difficulty and rewards of their hunts in Gnomprona.

The system allows players to increase the hazard level of a hunt, which both increases the damage dealt by monsters and the amount of loot and experience rewards received. The hazard level is adjusted individually by players, but in a team, it's the lowest hazard level among the players that counts for the whole team.

The benefits of increasing the hazard level include greater loot and experience, as well as a higher chance of spawning a Plunder Patriarch when killing a monster. However, with a higher hazard level, all damage dealt by monsters increases, as does the chance for monsters to land critical hits and dodge attacks. Furthermore, the chance of generating Primal Pods when killing a creature increases with a higher hazard level.

Additionally, this modification also implements the mechanic associated with the "Primal Ordeal" quest, where players must defeat the boss "The Primal Menace" to increase hazard qualification. The recommended combat strategy includes focusing on the Primal Pack Beasts, and dealing with the threats of Primal Pods that can transform into the powerful Fungosaurus creature.
enzerah pushed a commit to enzerah/canary that referenced this pull request May 21, 2023
This modification introduces the implementation of the Hazard System. The Hazard System is an advanced game mechanic that offers players the opportunity to increase the difficulty and rewards of their hunts in Gnomprona.

The system allows players to increase the hazard level of a hunt, which both increases the damage dealt by monsters and the amount of loot and experience rewards received. The hazard level is adjusted individually by players, but in a team, it's the lowest hazard level among the players that counts for the whole team.

The benefits of increasing the hazard level include greater loot and experience, as well as a higher chance of spawning a Plunder Patriarch when killing a monster. However, with a higher hazard level, all damage dealt by monsters increases, as does the chance for monsters to land critical hits and dodge attacks. Furthermore, the chance of generating Primal Pods when killing a creature increases with a higher hazard level.

Additionally, this modification also implements the mechanic associated with the "Primal Ordeal" quest, where players must defeat the boss "The Primal Menace" to increase hazard qualification. The recommended combat strategy includes focusing on the Primal Pack Beasts, and dealing with the threats of Primal Pods that can transform into the powerful Fungosaurus creature.
libergod referenced this pull request in libergod/canary_baiak May 31, 2023
luan pushed a commit that referenced this pull request Jul 11, 2023
This modification introduces the implementation of the Hazard System. The Hazard System is an advanced game mechanic that offers players the opportunity to increase the difficulty and rewards of their hunts in Gnomprona.

The system allows players to increase the hazard level of a hunt, which both increases the damage dealt by monsters and the amount of loot and experience rewards received. The hazard level is adjusted individually by players, but in a team, it's the lowest hazard level among the players that counts for the whole team.

The benefits of increasing the hazard level include greater loot and experience, as well as a higher chance of spawning a Plunder Patriarch when killing a monster. However, with a higher hazard level, all damage dealt by monsters increases, as does the chance for monsters to land critical hits and dodge attacks. Furthermore, the chance of generating Primal Pods when killing a creature increases with a higher hazard level.

Additionally, this modification also implements the mechanic associated with the "Primal Ordeal" quest, where players must defeat the boss "The Primal Menace" to increase hazard qualification. The recommended combat strategy includes focusing on the Primal Pack Beasts, and dealing with the threats of Primal Pods that can transform into the powerful Fungosaurus creature.
luan pushed a commit that referenced this pull request Jul 11, 2023
Fixes crash on "addExperience" function related to #1091 and c5a4b77
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants