Rafael Hamdan
OT Developer
All right, first, there's a problem when compiling TFS newest revision:
At these lines (function: combat::canTargetCreature):
Sure it won't work, cause function isProtected hopes that the second parameter will be a player, and target is set like a creature. So let's change it to:
The other problems are:
- If you are shooting sudden deaths, you won't use your weapon (if it's a distance weapon)
- Exhaustion of runes and potions are clearly bugged. You can't walk and shoot/use sd/potions, and, sometimes you shoot 1sd in 1 sec, and sometimes 2 sd in 3 seg. The exhaustion is clealy crazy.
I've already seen a lot of reports, but no one give importance to them. You should remake your action delay functions.
Yours,
Rafael Hamdan;
At these lines (function: combat::canTargetCreature):
Code:
if(target->getPlayer() && isProtected(player, target))
return RET_YOUMAYNOTATTACKTHISPLAYER;
Sure it won't work, cause function isProtected hopes that the second parameter will be a player, and target is set like a creature. So let's change it to:
Code:
if(target->getPlayer() && isProtected(player, target->getPlayer()))
return RET_YOUMAYNOTATTACKTHISPLAYER;
The other problems are:
- If you are shooting sudden deaths, you won't use your weapon (if it's a distance weapon)
- Exhaustion of runes and potions are clearly bugged. You can't walk and shoot/use sd/potions, and, sometimes you shoot 1sd in 1 sec, and sometimes 2 sd in 3 seg. The exhaustion is clealy crazy.
I've already seen a lot of reports, but no one give importance to them. You should remake your action delay functions.
Yours,
Rafael Hamdan;