Resource icon

Monster and Item Auras! 1.6.0

Author
Bittiez
Downloads
81
Views
2,172
First release
Last update
Rating
0.00 star(s) 0 ratings
No permission to download Join the discussion

More resources from Bittiez

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!

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...

Active Shards

Donations

Total amount
$0.00
Goal
$1,000.00
Back