jaisonkemper / avesta74

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

Distance fight && spell #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
If player is attacking creature or other player with distance weapon and casts 
attack spell when distance weapon exhaustion ticks are almost 0 -> player 
doesn't hit from distance weapon in this turn.

Original issue reported on code.google.com by asinum.c...@gmail.com on 23 Oct 2011 at 9:46

GoogleCodeExporter commented 9 years ago
If I remember right, there was such delay, perhaps the delay wasn't so long. 

In player.cpp -> function void Player::doAttacking(uint32_t interval)
removing this 'if' should do the trick for you

if(!(hasCondition(CONDITION_EXHAUST_COMBAT) ||
    hasCondition(CONDITION_EXHAUST_HEAL)) ||
    weapon->hasExhaustion())

Original comment by r...@ymail.com on 7 Dec 2011 at 1:01

GoogleCodeExporter commented 9 years ago
This needs some improvements so changing back status

Original comment by r...@ymail.com on 23 Feb 2012 at 10:39

GoogleCodeExporter commented 9 years ago

Original comment by r...@ymail.com on 9 Apr 2012 at 5:18

GoogleCodeExporter commented 9 years ago

Original comment by r...@ymail.com on 12 Jul 2012 at 1:56