Vortex stealth armour now works. Fixes #964
This commit is contained in:
parent
9c014200ab
commit
e4722c8c2f
1 changed files with 10 additions and 2 deletions
|
|
@ -2387,9 +2387,17 @@ namespace TShockAPI
|
||||||
args.TPlayer.controlJump = false;
|
args.TPlayer.controlJump = false;
|
||||||
args.TPlayer.controlUseItem = false;
|
args.TPlayer.controlUseItem = false;
|
||||||
args.TPlayer.pulley = pulley[0];
|
args.TPlayer.pulley = pulley[0];
|
||||||
|
|
||||||
if (pulley[0])
|
if (pulley[0])
|
||||||
args.TPlayer.pulleyDir = (byte)(pulley[1] ? 2 : 1);
|
args.TPlayer.pulleyDir = (byte)(pulley[1] ? 2 : 1);
|
||||||
|
|
||||||
|
if (pulley[3])
|
||||||
|
args.TPlayer.vortexStealthActive = true;
|
||||||
|
|
||||||
|
args.TPlayer.gravDir = pulley[4] ? 1f : -1f;
|
||||||
|
|
||||||
args.TPlayer.direction = -1;
|
args.TPlayer.direction = -1;
|
||||||
|
|
||||||
if (control[0])
|
if (control[0])
|
||||||
{
|
{
|
||||||
args.TPlayer.controlUp = true;
|
args.TPlayer.controlUp = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue