mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-07 13:45:42 +12:00
fix stats not showing up
This commit is contained in:
parent
2e1174efbb
commit
86a0aeed3b
2 changed files with 8 additions and 8 deletions
|
@ -161,31 +161,31 @@ namespace HISP.Game.Horse
|
|||
string effects = effect.EffectsWhat;
|
||||
switch (effects)
|
||||
{
|
||||
case "AGILITYOFFSET":
|
||||
case "AGILITY":
|
||||
if (horseStat == StatType.AGILITY)
|
||||
offsetBy += effect.EffectAmount;
|
||||
break;
|
||||
case "CONFORMATIONOFFSET":
|
||||
case "CONFORMATION":
|
||||
if (horseStat == StatType.CONFORMATION)
|
||||
offsetBy += effect.EffectAmount;
|
||||
break;
|
||||
case "ENDURANCEOFFSET":
|
||||
case "ENDURANCE":
|
||||
if (horseStat == StatType.ENDURANCE)
|
||||
offsetBy += effect.EffectAmount;
|
||||
break;
|
||||
case "PERSONALITYOFFSET":
|
||||
case "PERSONALITY":
|
||||
if (horseStat == StatType.PERSONALITY)
|
||||
offsetBy += effect.EffectAmount;
|
||||
break;
|
||||
case "SPEEDOFFSET":
|
||||
case "SPEED":
|
||||
if (horseStat == StatType.SPEED)
|
||||
offsetBy += effect.EffectAmount;
|
||||
break;
|
||||
case "STRENGTHOFFSET":
|
||||
case "STRENGTH":
|
||||
if (horseStat == StatType.STRENGTH)
|
||||
offsetBy += effect.EffectAmount;
|
||||
break;
|
||||
case "INTELLIGENCEOFFSET":
|
||||
case "INTELLIGENCE":
|
||||
if (horseStat == StatType.INTELIGENCE)
|
||||
offsetBy += effect.EffectAmount;
|
||||
break;
|
||||
|
|
|
@ -4038,7 +4038,7 @@ namespace HISP.Server
|
|||
|
||||
sender.LoggedinUser.Teleport(sender.LoggedinUser.OwnedRanch.X, sender.LoggedinUser.OwnedRanch.Y);
|
||||
}
|
||||
if(itm.ItemId == Item.Telescope)
|
||||
else if(itm.ItemId == Item.Telescope)
|
||||
{
|
||||
byte[] birdMap = PacketBuilder.CreateBirdMap(sender.LoggedinUser.X, sender.LoggedinUser.Y);
|
||||
sender.SendPacket(birdMap);
|
||||
|
|
Loading…
Add table
Reference in a new issue