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

improve: move chaining to cpp #1244

Merged
merged 4 commits into from
Jul 18, 2023
Merged

improve: move chaining to cpp #1244

merged 4 commits into from
Jul 18, 2023

Conversation

luan
Copy link
Contributor

@luan luan commented Jul 13, 2023

Description

Like the title said, moves chaining to cpp. This makes it easier/quicker to implement chaining spells (such as divine dazzle and chivalrous challenge) but also makes it easier to make mobs use chaining attacks (Like this PR does for Harpy and Carnivostrich).

This could also have been a lib in lua but I chose to move the mechanic to c++ since it's a core part of Tibia these days and not just something that is content specific.

Type of change

Please delete options that are not relevant.

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

How Has This Been Tested

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Tested modified spellsl
  • Tested harpy/carnivostrich

@luan luan force-pushed the luan/chain-cpp branch from b97cb3c to 198fe03 Compare July 18, 2023 06:29
@sonarqubecloud
Copy link

SonarCloud Quality Gate failed.    Quality Gate failed

Bug C 1 Bug
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 33 Code Smells

0.0% 0.0% Coverage
13.2% 13.2% Duplication

idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint

@dudantas dudantas merged commit 362f344 into main Jul 18, 2023
@dudantas dudantas deleted the luan/chain-cpp branch July 18, 2023 17:40
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.

3 participants