|
Post by Jbob on Aug 14, 2014 18:12:19 GMT
These Mana Potions will raise the users Mana by a percentage of the Max Mana. Lesser Mana Potions = +10% Mana Potions = +25% Greater Mana Potions = +50% How To InstallDrop everything but the readme.txt and BasePotion.cs in your custom scripts folder. Make a backup of your BasePotion.cs Open your BasePotion.cs and make sure you add these three line i commented on to your PotionEffect list. public enum PotionEffect { Nightsight, CureLesser, Cure, CureGreater, Agility, AgilityGreater, Strength, StrengthGreater, PoisonLesser, Poison, PoisonGreater, PoisonDeadly, Refresh, RefreshTotal, HealLesser, Heal, HealGreater, ExplosionLesser, Explosion, ExplosionGreater, Conflagration, ConflagrationGreater, MaskOfDeath, MaskOfDeathGreater, ConfusionBlast, ConfusionBlastGreater, Invisibility, Parasitic, Darkglow, ExplodingTarPotion, ManaLesser, //Added By Anubis Mana, //Added By Anubis ManaGreater//Added By Anubis } Lastly, Start your server. If you have errors... Please post them in the Script Help Section. If you have a comment or suggestion... I'm more than happy to hear them. Download File --> ManaPotions.rar (4.58 KB)
|
|