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

Issue with Damage Handler #13

Open
haroongames-git opened this issue Mar 23, 2020 · 0 comments
Open

Issue with Damage Handler #13

haroongames-git opened this issue Mar 23, 2020 · 0 comments

Comments

@haroongames-git
Copy link

haroongames-git commented Mar 23, 2020

When attacking an enemy with high defense (in CYF this would count as a miss), the damage handler seemed to deal negative damage to the enemy, healing them. Are there any ways this could be fixed?

Steps to reproduce:

  1. Create an enemy with a high defense like 100.
  2. Attack the enemy.
  3. Observe.

Edit: This can be fixed by using in your monster script:

function BeforeDamageCalculation() SetDamage(0) end

but it would be nice to see it fixed.

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

No branches or pull requests

1 participant