if(!btSelfAction) [self drawImage:img x:BT_POINTX2 - btDistanceX2 y:BT_POINTY f:1.0];
U = UTop;
-
+ if(!btSelfAction){
if(btDistanceX1 >= BT_CHADISTANCEDELTA && btDistanceX2 >= BT_CHADISTANCEDELTA){
baseDistanceCompFlag = true;
}
+ }else{
+ if(btDistanceX1 >= BT_CHADISTANCEDELTA + BT_CHADISTANCEDELTASELF
+ && btDistanceX2 >= BT_CHADISTANCEDELTA + BT_CHADISTANCEDELTASELF){
+ baseDistanceCompFlag = true;
+ }
+ }
//画像の開始時の位置と、準備に動く位置
}
else if(BTunitAttackFlag1 && !btHitFlag1 && !btHitExtendFlag1){
}
if(btAttackMoveValue2 < 2){
- if(!btSelfAction) [self drawImage:img x:BT_POINTX1 + btDistanceX2 + btAttackMove2 y:BT_POINTY f:1.0];
+ if(!btSelfAction) [self drawImage:img x:BT_POINTX2 - btDistanceX2 - btAttackMove2 y:BT_POINTY f:1.0];
}else{
- if(!btSelfAction) [self drawImage:img x:BT_POINTX1 + btDistanceX2 y:BT_POINTY f:1.0];
+ if(!btSelfAction) [self drawImage:img x:BT_POINTX2 - btDistanceX2 y:BT_POINTY f:1.0];
}
}else if(btAttackType2 == BT_TYPE_MAGIC){
}
if(btAttackMoveValue2 < 4){
- if(!btSelfAction) [self drawImage:img x:BT_POINTX1 + btDistanceX2 y:BT_POINTY - btAttackMove2 f:1.0];
+ if(!btSelfAction) [self drawImage:img x:BT_POINTX2 - btDistanceX2 y:BT_POINTY - btAttackMove2 f:1.0];
}else{
- if(!btSelfAction) [self drawImage:img x:BT_POINTX1 + btDistanceX2 y:BT_POINTY f:1.0];
+ if(!btSelfAction) [self drawImage:img x:BT_POINTX2 - btDistanceX2 y:BT_POINTY f:1.0];
}
}else if(btAttackType2 == BT_TYPE_ABILITY){
}
if(btAttackMoveValue2 < 2){
- if(!btSelfAction) [self drawImage:img x:BT_POINTX1 + btDistanceX2 + btAttackMove2 y:BT_POINTY f:1.0];
+ if(!btSelfAction) [self drawImage:img x:BT_POINTX2 - btDistanceX2 - btAttackMove2 y:BT_POINTY f:1.0];
}else{
- if(!btSelfAction) [self drawImage:img x:BT_POINTX1 + btDistanceX2 y:BT_POINTY f:1.0];
+ if(!btSelfAction) [self drawImage:img x:BT_POINTX2 - btDistanceX2 y:BT_POINTY f:1.0];
}
}
U = UTop;
img = [U->C.imgb copy];
[img setSize:NSMakeSize(BT_CHASIZEX, BT_CHASIZEY)];
+ if(!btSelfAction)
if(btHitFlagCnt2%2 == 0) [self drawImage:img x:BT_POINTX1 + btDistanceX1 + btHitExtendMove1 y:BT_POINTY f:1.0];
U = UTop;