• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Hot to be able to attack while healing?

DrComet

New Member
Joined
Nov 25, 2014
Messages
63
Reaction score
3
Hello there. I've got a question. How to be able to attack while healing? For now I can or heal myself or attack the target (I mean normal attack ofc). I know that some servers have this function done so I would like to have it too.

I'm working on TFS 0.3.6 Client 8.6

Cheers!
 
Last edited:
Hello there. I've got a question. How to be able to attack while healing? For now I can or heal myself or attack the target (I mean normal attack ofc). I know that some servers have this function done so I would like to have it too.

I'm working on TFS 0.3.6 Client 8.6

Cheers!
1st post this in requests.
2nd be more specific.
 
Can You please don't push trash here?
1. I need a support, not ready script or something. So I decided to create this thread here, not in req section.
2. I belive I was specific enough so You can get what I mean.

But if still not. The thing is simply - I can not attack with normal attack while healing, cuz when I use healing spell (like I spam it), the character does not attack. It's like it waits for attack turn which can't be done while healing.

I don't know how MORE specific I can be yet.
 
Can You please don't push trash here?
1. I need a support, not ready script or something. So I decided to create this thread here, not in req section.
2. I belive I was specific enough so You can get what I mean.

But if still not. The thing is simply - I can not attack with normal attack while healing, cuz when I use healing spell (like I spam it), the character does not attack. It's like it waits for attack turn which can't be done while healing.

I don't know how MORE specific I can be yet.
https://github.com/otland/forgottenserver/blob/master/src/player.cpp#L3291-L3300
 
Can You please don't push trash here?
1. I need a support, not ready script or something. So I decided to create this thread here, not in req section.
2. I belive I was specific enough so You can get what I mean.

But if still not. The thing is simply - I can not attack with normal attack while healing, cuz when I use healing spell (like I spam it), the character does not attack. It's like it waits for attack turn which can't be done while healing.

I don't know how MORE specific I can be yet.
As @MatheusMkalo has shown its a source thing, however you could stack the heals which would allow you to still attack while healing, by stack i mean execute the heal using an addEvent within the heal script, same thing you would see when a player does a spell with multiple animations/damage.

In other games its referred to as "H.O.T." Heal Over Time.

Edit:
Actually I am not sure if that will work :p

Although if it doesn't there is another way to tackle this.. in theory of course. :p
 
Last edited:
I see... Well, I will try to solve it later. Now I have another problem cuz I can't change type od database from sqlite to mysql without server's crash, but that's for another thread. Thanks for answers :D
 
Back
Top