19907 {
19909 {
19910 velocity.Y -= 0.2f *
gravDir;
19912 {
19914 {
19916 }
19918 {
19919 velocity.Y -= 0.2f;
19920 }
19922 {
19924 }
19925 }
19926 else
19927 {
19929 {
19931 }
19933 {
19934 velocity.Y += 0.2f;
19935 }
19937 {
19939 }
19940 }
19942 }
19943 else
19944 {
19951 {
19957 }
19959 {
19961 }
19963 {
19965 }
19967 {
19973 }
19975 {
19982 {
19983 velocity.Y -= 0.4f *
gravDir;
19985 {
19987 {
19989 }
19991 {
19992 velocity.Y -= 0.2f;
19993 }
19995 {
19997 }
19998 }
19999 else
20000 {
20002 {
20004 }
20006 {
20007 velocity.Y += 0.2f;
20008 }
20010 {
20012 }
20013 }
20014 }
20016 {
20017 velocity.Y += 0.4f;
20018 }
20019 }
20021 {
20027 {
20028 velocity.Y -= 0.4f *
gravDir;
20030 {
20032 {
20034 }
20036 {
20037 velocity.Y -= 0.2f;
20038 }
20040 {
20042 }
20043 }
20044 else
20045 {
20047 {
20049 }
20051 {
20052 velocity.Y += 0.2f;
20053 }
20055 {
20057 }
20058 }
20059 }
20061 {
20062 velocity.Y += 0.4f;
20063 }
20064 }
20066 {
20072 }
20074 {
20078 {
20080 }
20081 }
20085 {
20087 {
20088 velocity.Y -=
num2;
20089 }
20091 {
20092 velocity.Y -=
num5;
20093 }
20095 {
20097 }
20098 }
20099 else
20100 {
20102 {
20103 velocity.Y +=
num2;
20104 }
20106 {
20107 velocity.Y +=
num5;
20108 }
20110 {
20112 }
20113 }
20115 {
20117 }
20118 else
20119 {
20121 }
20122 }
20124 {
20126 }
20127 }
Vector2 velocity
The velocity of this Entity in world coordinates per tick.
static void VerticalWingSpeeds(Player player, ref float ascentWhenFalling, ref float ascentWhenRising, ref float maxCanAscendMultiplier, ref float maxAscentMultiplier, ref float constantAscend)
If the player is using wings, this uses the result of GetWing, and calls ModItem.VerticalWingSpeeds t...
This serves as the central class from which item-related functions are carried out....
static float jumpSpeed
The speed, in pixels/tick, that this players jumps at.