Przemyslaw1101
Member
- Joined
- Feb 16, 2017
- Messages
- 53
- Solutions
- 2
- Reaction score
- 9
Hey, I was wondering how to change that player can block more than 2 hits with a shield. ( TFS 1.3 )
In creature.cpp i found:
Is "(blockCount + 1, 2)" equal to numbers that player can block? I changed that to "(blockCount + 1, 2, 3, 4);" and after that I received many errors on compiling.
Help please <3
In creature.cpp i found:
Lua:
blockTicks += interval;
if (blockTicks >= 1000) {
blockCount = std::min<uint32_t>(blockCount + 1, 2);
blockTicks = 0;
}
Help please <3