defensive arrows
This commit is contained in:
parent
d20c8114ef
commit
1b38f8a047
@ -34,7 +34,6 @@
|
||||
|
||||
*CLIENT*
|
||||
|
||||
arrows alignment
|
||||
purge green disable
|
||||
rework scatter
|
||||
hatred maybe
|
||||
|
||||
@ -46,6 +46,7 @@ class TargetSvg extends Component {
|
||||
const sourceY = height;
|
||||
const sourceX = (source * width / 3) + width / 6;
|
||||
const targetX = (target * width / 3) + width / 6
|
||||
+ (defensive ? width / 64 : 0)
|
||||
+ (pathOffset * width / 32);
|
||||
const targetY = defensive ? height : 0;
|
||||
const bendStart = height * (0.7 - 0.1 * source);
|
||||
|
||||
@ -671,8 +671,6 @@ pub fn instance_ready(params: InstanceReadyParams, tx: &mut Transaction, account
|
||||
pub fn instance_state(params: InstanceStateParams, tx: &mut Transaction, _account: &Account) -> Result<RpcResult, Error> {
|
||||
let instance = instance_get(tx, params.instance_id)?;
|
||||
|
||||
println!("{:#?}", instance);
|
||||
|
||||
if let Some(game_id) = instance.current_game_id() {
|
||||
let game = game_get(tx, game_id)?;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user