[fab]LeftToMax Command

Posts 1–4 of 4 · Page 1 of 1
[fab]LeftToMax Command
Yea..I have writers block and there isn't really anything complicated to do in fab so I am just posting a bunch of commands that may or may not work

Here is the LeftToMax command
it tells you how much pots you need till maxed
Code:
    internal class LeftToMax : Command
    {
        public LeftToMax() : base("lefttomax") { }
        protected override bool Process(Player player, RealmTime time, string[] args)
        {
            int Hp = player.ObjectDesc.MaxHitPoints - player.Stats[0]; 
            int Mp = player.ObjectDesc.MaxMagicPoints - player.Stats[1];
            int Atk = player.ObjectDesc.MaxAttack - player.Stats[2];
            int Def = player.ObjectDesc.MaxDefense - player.Stats[3];
            int Spd = player.ObjectDesc.MaxSpeed - player.Stats[4];
            int Vit = player.ObjectDesc.MaxHpRegen - player.Stats[5];
            int Wis = player.ObjectDesc.MaxMpRegen - player.Stats[6];
            int Dex = player.ObjectDesc.MaxDexterity - player.Stats[7];
            player.SendInfo(Hp +"Till maxed Health");
            player.SendInfo(Mp + "Till maxed Mana");
            player.SendInfo(Atk + "Till maxed Attack");
            player.SendInfo(Def + "Till maxed Defense");
            player.SendInfo(Spd + "Till maxed Speed");
            player.SendInfo(Vit + "Till maxed HpRegen");
            player.SendInfo(Wis + "Till maxed MpRegen");
            player.SendInfo(Dex + "Till maxed Dexterity");
            return true;
        }
    }


If anyone has any good ideas just tell me so I can attempt to make it and hopefully get out of this writers block
admin command: when typing it in /noclip
everytime you click it will tp where you are pointing?? idk lmfao
Quote Originally Posted by Desire View Post
admin command: when typing it in /noclip
everytime you click it will tp where you are pointing?? idk lmfao
finally an actual idea lol ty


- - - Updated - - -

should i just disable player collision for the player....or maybe just give me a decoy item....or maybe make all the walls in the map for the player non static so they can walk through...or maybe add the TP ability to their item...or maybe a quick tp command just like the /tp command but instead it tps you to what your pointing at...and shit my computer is burning XD it smells like hot plastic or metal just like my ps3


- - - Updated - - -

ill post that command tmr or something my computer smells like burnt plastic lol maybe its time to get a new one
Quote Originally Posted by DimitriSavage View Post


finally an actual idea lol ty


- - - Updated - - -

should i just disable player collision for the player....or maybe just give me a decoy item....or maybe make all the walls in the map for the player non static so they can walk through...or maybe add the TP ability to their item...or maybe a quick tp command just like the /tp command but instead it tps you to what your pointing at...and shit my computer is burning XD it smells like hot plastic or metal just like my ps3


- - - Updated - - -

ill post that command tmr or something my computer smells like burnt plastic lol maybe its time to get a new one
AND ITS UP ENJOY
Posts 1–4 of 4 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?