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

Exhaust System #144

Open
peonso opened this issue Jul 1, 2017 · 11 comments
Open

Exhaust System #144

peonso opened this issue Jul 1, 2017 · 11 comments

Comments

@peonso
Copy link
Collaborator

peonso commented Jul 1, 2017

Regarding it #22, I spread some false information:

From what I remember, at 7.72 era exhaust should work like that:
After an aggressive spell you should wait 2 seconds to cast any other spell.
After an non-aggressive spell you should wait 1 second to cast any other spell.

The system was totally bugged in OTHire, and what we got with 0dd7e21 was a huge improvement nonetheless.

Although, what I will call Seliro's Tests show that the interactions are actually more complex.

ultimate healing rune
https://www.youtube.com/watch?v=bi4m6wuWCm0

uh > uh = not exhausted
uh > sd = not exhausted
uh > exura vita = not exhausted
uh > mana fluid = not exhausted
uh > exori vis = not exhausted

sudden death rune
https://www.youtube.com/watch?v=Cmh97qLgp1A

sd > uh = exhausted
sd > sd = exhausted
sd > exura vita = exhausted
sd > mana fluid = not exhausted
sd > exori vis = exhausted

ultimate healing
https://www.youtube.com/watch?v=WO5k144RpD0

exura vita > uh = exhausted
exura vita > sd = exhausted
exura vita > exura vita = exhausted
exura vita > mana fluid = not exhausted
exura vita > exori vis = exhausted

mana fluid
https://www.youtube.com/watch?v=M76x3JwoZ2s

mana fluid > uh = not exhausted
mana fluid > sd = not exhausted
mana fluid > exura vita = exhausted
mana fluid > mana fluid = not exhausted
mana fluid > exori vis = exhausted

energy strike
https://www.youtube.com/watch?v=yL00eUPkDjw

exori vis > uh = exhausted
exori vis > sd = exhausted
exori vis > exura vita = exhausted
exori vis > mana fluid = not exhausted
exori vis > exori vis = exhausted

The tests are not conclusive though, as they don't count in exhaust times (as how much time you are exhausted after each action for the other respective action). There is also some queue on using items that was disregarded at all, eg. there is no exhaust between using 2 manafluids, but the second one waits the animation from the first to be played and if you use 3 too fast only 2 will be used.

I'm not inclined to address this soon, and there is more research to be done, but I though it would be good to have this documented.

@Tetee11
Copy link

Tetee11 commented Oct 13, 2017

Maybe can fix exhaust with this:
mattyx14/otxserver#61

@peonso
Copy link
Collaborator Author

peonso commented Oct 15, 2017

@Tetee11 from this pull what I understood is that OTX was totally bugged and then started to work as OTHire. But you can check there it behavior still won't match what you can see in Seliro youtube videos.

The change they made at this commit is the same one we made here 0dd7e21

@Tetee11
Copy link

Tetee11 commented Oct 15, 2017

i think works better with this:
if( (isAggressive && player->hasCondition(CONDITION_EXHAUST_COMBAT)) || (!isAggressive && player->hasCondition(CONDITION_EXHAUST_HEAL)) )

than this:
if(player->hasCondition(CONDITION_EXHAUST_COMBAT) || player->hasCondition(CONDITION_EXHAUST_HEAL))

@peonso
Copy link
Collaborator Author

peonso commented Oct 15, 2017

@Tetee11, OTHire is meant to work as 7.72 Tibia protocol worked back in time, if you like some custom feature or current Tibia behavior more you can edit your own server.

@Tetee11
Copy link

Tetee11 commented Oct 15, 2017

what you mean is the exhaust of OTHire is like the tibia version 7.72? the defensive spells did not share exhaust with agressive spells? I really do not remember the exhaust of tibia 7.72

@peonso
Copy link
Collaborator Author

peonso commented Oct 15, 2017

@Tetee11

At 7.72 spells share exhaust regardless of being defensive or aggressive, we are matching this behavior here. If you what the videos though, you will see it's not just that simple, and details that are not well documented. This commit you linked has nothing to do with those details, it´s about OTX fixing their 7.x protocol server having aggressive and healing spells not sharing exhaust through adding an option on how it should work at config.lua.

@waqmaz93
Copy link

waqmaz93 commented Dec 3, 2021

@Tetee11

At 7.72 spells share exhaust regardless of being defensive or aggressive, we are matching this behavior here. If you what the videos though, you will see it's not just that simple, and details that are not well documented. This commit you linked has nothing to do with those details, it´s about OTX fixing their 7.x protocol server having aggressive and healing spells not sharing exhaust through adding an option on how it should work at config.lua.

Could you use rune like uh, sd at the same time when casting spells in 7.72?

@especialized-oldschoool
Copy link

what happened with seliro's test?

@peonso
Copy link
Collaborator Author

peonso commented May 6, 2022

kay from Tibiantis on https://otland.net/threads/7-7-damage-and-spell-formulae.252604/#post-2693995

Exhaust system in old Tibia is as simple as it can be. All spells and runes share one system. Before using a rune or casting a spell it checks if you are not exhausted, and after using it causes exhaustion state for either 1 or 2 seconds:
Offensive runes/spells cause 2s, except for exori vis/flam/mort and paralyze rune which cause 1s.
Other runes/spells cause 1s, except for UH and IH runes which cause no exhaustion at all.
Mana and life fluids can be used regardless of exhaustion state but exhaust you for 1s afterwards.
In pvp-enforced world exhaustion after offensive runes/spells is cut to 1s as well.

@floki21uu
Copy link

floki21uu commented Sep 30, 2022

But can you use "exura" or "exori vis" 1 second after "exevo mort hurt" which exhausts you for 2 seconds or you need to wait 2 seconds to use these spells?

@pasturryx
Copy link

SO THIS IS GOOD OR NOT'

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

No branches or pull requests

6 participants