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 isAura.cs
, you can place it in your Custom scripts folderHow do I add this to my own monsters/items?
Check out the instructions over here.How do I create custom auras?
Open Aura.csAdd 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;
}
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;
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!