Sh4d0v / mooege

Working with 1.0.3.10485. You need to connect 10485 client with your ip and done. Join us: https://discord.gg/ES7G8VV
GNU General Public License v2.0
3 stars 0 forks source link

temp fix Monster walk speed #7

Closed ghost closed 6 years ago

ghost commented 9 years ago

fix for walk speed

add to monster.cs

if (monsterData.Level.Normal >= 0 && monsterData.Level.Normal < monsterLevels.MonsterLevel.Count) { this.Brain = new MonsterBrain(this); this.Attributes[GameAttribute.Level] = monsterData.Level.Normal; this.Attributes[GameAttribute.Hitpoints_Max] = monsterLevels.MonsterLevel[monsterData.Level.Normal].F0; this.Attributes[GameAttribute.Hitpoints_Cur] = this.Attributes[GameAttribute.Hitpoints_Max_Total]; this.Attributes[GameAttribute.Attacks_Per_Second] = 1.0f; this.Attributes[GameAttribute.Damage_Weapon_Min, 0] = 5f; this.Attributes[GameAttribute.Damage_Weapon_Delta, 0] = 5f; this.Attributes[GameAttribute.Walking_Rate] = 1.0f; // TODO: this is probably multiplied by something this.WalkSpeed = 0.4f * monsterData.Floats[129]; // TODO: this is probably multiplied by something } }

Sh4d0v commented 9 years ago

Damage_Weapon is probably too multiplied by something. Attack speed would be 1.4f..