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

Resist, Absorb, Reflect, Deflect as item attribute/conditions #3567

Open
EPuncker opened this issue Aug 15, 2021 · 1 comment
Open

Resist, Absorb, Reflect, Deflect as item attribute/conditions #3567

EPuncker opened this issue Aug 15, 2021 · 1 comment
Labels
feature New feature or functionality

Comments

@EPuncker
Copy link
Contributor

EPuncker commented Aug 15, 2021

Explanation of what you want to do that is currently impossible

Possibility to use the following as item attributes and conditions:

Resist: reduce damage by x%
Absorb: reduce damage by x%, heal x%
Reflect: take full damage, deal x% to attacker
Deflect: reduce damage by x%, deal x% to attacker

Desired functionality

  • Damage reflection cannot trigger leeches.
  • Damage reflection also works on PvP combat.
  • Reflected damage cannot be reflected back by creatures with Damage Reflection abilities.
  • A config to limit how much maximum % a player can have.

Available workarounds

using onHealthChange

Prior art

https://otland.net/threads/tfs-1-2-conditions-resist-absorb-reflect-deflect.233406/
https://otland.net/threads/tfs-1-2-reflection-attribute.253211/

@EPuncker EPuncker added the feature New feature or functionality label Aug 15, 2021
@soul4soul
Copy link
Contributor

soul4soul commented Aug 15, 2021

Now that so much can be done with lua it's not clear to me what should be built into the engine or left as scripts. There is the system codinablack release for TFS1.3 too https://otland.net/threads/revscripts-1-3-custom-equipment-syc.277376/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or functionality
Projects
None yet
Development

No branches or pull requests

2 participants