Resource icon

Monster and Item Auras! 1.6.0

No permission to download

What is this?

This is a bare-bones aura "framework". Adding auras to monsters or items such as damaging/healing/any effect you want!

Built-in auras:
Dismount Aura [Example: EvilMageAura.cs] [Preview]
Healing Aura [Example: CrystalHealingBall.cs] [Preview]
Damaging Aura [More Details]
Mana Regen Aura [More Details]
Life Leach Aura [More Details]
Stat Buff Aura [More Details]
Effect Aura (Visual only) [More Details]


If you find any bugs, issues or would like to request auras/changes just let me know.

Installation

The only file you need is Aura.cs, you can place it in your Custom scripts folder

How do I add this to my own monsters/items?

Check out the instructions over here.

How do I create custom auras?

Open Aura.cs
Add your aura type here(At the top):
C#:
    public static class AURATYPE
    {
        public const int DISMOUNT_PLAYER = 1;
        public const int HEALING = 2;
        public const int CUSTOM = 9999;
    }
For example: public const int DAMAGE_AURA = 2;

Scroll down to this:
C#:
                    case AURATYPE.DISMOUNT_PLAYER:
                        if(target is PlayerMobile) {
                            ((PlayerMobile)target).SetMountBlock(BlockMountType.Dazed, AURAFREQUENCY, true);
                        }
                        break;
Add your own case switch such as:
C#:
                switch (m_AuraType)
                {
                    case AURATYPE.DISMOUNT_PLAYER:
                        if(target is PlayerMobile) {
                            ((PlayerMobile)target).SetMountBlock(BlockMountType.Dazed, AURAFREQUENCY, true);
                        }
                        break;
                    case AURATYPE.DAMAGE_AURA:
                        //Custom aura code here
                        break;
                }

Done! You now know how to create custom auras and add them to monsters!
Author
Bittiez
Downloads
73
Views
1,509
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from Bittiez

Latest Updates

  1. Put all the files in a zip

    All the files are the same, now just contained in one zip
  2. [+ Effect Aura] [Fixed bug if item is equiped] [Updated healing aura]

    Effect Aura This has no real purpose other than to demonstrate using a particle effect on...
  3. [+ Stat buff aura] [Added Crystal Stat Buff Ball example] [Changes to evil mage example]

    Stat Buff Aura This aura will provide a buff to all stats to anyone in the radius that is able...
  4. [+ Life Leach Aura] [Code cleanup] [DamageCrystalBall comment typo]

    Life Leach This aura - when coming from a mobile - will deal damage to anyone in the radius...
  5. [+ Mana Regen Aura] [- Removed accidental debug message] [+ Self Affect]

    Mana Regen Aura Added a mana regen aura: -When used as an item on the ground it will regen mana...
Back