pasturryx / avesta74

Automatically exported from code.google.com/p/avesta74
0 stars 0 forks source link

stairs hopping #22

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
shouldn't be delay when stairs hopping

Original issue reported on code.google.com by otclient...@gmail.com on 21 Jul 2012 at 6:45

GoogleCodeExporter commented 9 years ago
There is floor change delay in Tibia, at least was in 7.x, the thing is, the 
otservs one doesn't work same like Tibias. This block is responsible for that 
delay:

if(oldPos.z != newPos.z){
    //floor change extra cost
    lastStepCost = 2;
}

so if you want, just remove it (probably along with word 'else' from the next 
block so it works okay)

Original comment by r...@ymail.com on 15 Sep 2012 at 1:20