[t:template,n:aura_tag] { doc = "Aura Tag"; [aura_tag] {} } [t:template,n:aura_check] { doc = "Aura Spellbook Check"; [aura_spellbook] {} } [t:template,n:aura_rejuv_manager] { doc = "Aura Manager"; [aura_enchant] { costs_mana = true; interval = 2.0; radius = 0.0; target_type_hint = QT_ALIVE; enchant_target = 2; enchant_target_scales = true; sfx_source = "aura_glow"; sfx_source_params = "[0.2,0.2,0.9][0.65][0.9][0.85]"; //"[.1,.2,.3][0.65][0.9][0.85]"; //color0 and head/body/pelvis glow scales, respectively sfx_target = "aura_rejuvenation"; //"aura_test"; tracker = "aura_tag"; } [magic] { apply_enchantments = false; max_level = 100; required_level = 55; attack_damage_modifier_min = ( #MAGIC / 3 ) * ( 0.23 + ( 0.085 * (( #MAGIC - #SPELL_REQ_LEVEL ) / ( #SPELL_MAX_LEVEL - #SPELL_REQ_LEVEL )) ) ); mana_cost = 1; mana_cost_modifier = 2 * (( #MAGIC - #SPELL_REQ_LEVEL ) / ( #SPELL_MAX_LEVEL - #SPELL_REQ_LEVEL )); magic_class = mc_nature_magic; skill_class = "Nature Magic"; require_state_check = false; state_name = aura_rejuv; target_type_flags = tt_human_party_member | tt_and | tt_conscious_friend; [enchantments] { [aura_rejuv_1] { alteration = alter_life_recovery_unit; description = "Increases Life Recovery Rate"; duration = #infinite; value = 5 - ( ( #MAGIC / 100 ) ** -2.3 ); is_enhancement = true; is_permanent = true; is_single_instance = false; } [aura_rejuv_2] { alteration = alter_mana_recovery_unit; description = "Increases Mana Recharge Rate"; duration = #infinite; value = 5 - ( ( #MAGIC / 100 ) ** -2.3 ); is_enhancement = true; is_permanent = true; is_single_instance = false; } } } } [t:template,n:aura_aptitude_manager] { doc = "Aura Manager"; [aura_enchant] { costs_mana = true; interval = 2.0; radius = 5.0; target_type_hint = QT_ALIVE; enchant_target = 1; enchant_target_scales = true; sfx_source = "aura_glow"; sfx_source_params = "[0.3,0.3,0.6][0.65][0.9][0.85]"; //color0 and head/body/pelvis glow scales, respectively sfx_target = "aura_marker"; sfx_target_params = "[0.2,0.2,0.25]"; //"[0.3,0.3,0.3]"; //[0.6,0.5,0.3] tracker = "aura_tag"; } [magic] { apply_enchantments = false; max_level = 105; required_level = 35; attack_damage_modifier_min = 5.0; mana_cost = 2; mana_cost_modifier = 3 * (( #MAGIC - #SPELL_REQ_LEVEL ) / ( #SPELL_MAX_LEVEL - #SPELL_REQ_LEVEL )); magic_class = mc_nature_magic; skill_class = "Nature Magic"; require_state_check = false; state_name = aura_aptitude; target_type_flags = tt_human_party_member | tt_and | tt_conscious_friend; [enchantments] { [aura_aptitude_1] { alteration = alter_experience_gained; description = "description"; duration = #infinite; value = 2 * ( 1 + ( 4 * (( #MAGIC - #SPELL_REQ_LEVEL ) / ( #SPELL_MAX_LEVEL - #SPELL_REQ_LEVEL )) ) ); is_enhancement = true; is_permanent = true; is_single_instance = false; multiply_value = true; } } } } [t:template,n:aura_blessing_manager] { doc = "Aura Manager"; [aura_enchant] { costs_mana = true; interval = 2.0; radius = 0.0; target_type_hint = QT_ALIVE; enchant_target = 3; enchant_target_scales = true; sfx_source = "aura_glow"; sfx_source_params = "[0.3,0.3,0.3][0.65][0.9][0.85]"; //color0 and head/body/pelvis glow scales, respectively sfx_target = "aura_angeldust"; sfx_target_params = "[0.3,0.3,0.3]"; tracker = "aura_tag"; } [magic] { apply_enchantments = false; max_level = 65; required_level = 10; attack_damage_modifier_min = 3 + ( #MAGIC / 3 ) * ( 0.35 + ( 0.075 * (( #MAGIC - #SPELL_REQ_LEVEL ) / ( #SPELL_MAX_LEVEL - #SPELL_REQ_LEVEL )) ) ); mana_cost = 2; mana_cost_modifier = 2 * (( #MAGIC - #SPELL_REQ_LEVEL ) / ( #SPELL_MAX_LEVEL - #SPELL_REQ_LEVEL )); magic_class = mc_nature_magic; skill_class = "Nature Magic"; require_state_check = false; state_name = aura_blessing; target_type_flags = tt_human_party_member | tt_and | tt_conscious_friend; [enchantments] { [aura_blessing_1] { alteration = alter_intelligence; description = "1. description"; duration = #infinite; value = 1 + 14 * (( #MAGIC - #SPELL_REQ_LEVEL ) / ( #SPELL_MAX_LEVEL - #SPELL_REQ_LEVEL )); //15 - ( ( (#MAGIC-30) / 100 ) ** -2.3 ); is_enhancement = true; is_permanent = true; is_single_instance = false; } [aura_blessing_2] { alteration = alter_strength; description = "2. description"; duration = #infinite; value = 1 + 14 * (( #MAGIC - #SPELL_REQ_LEVEL ) / ( #SPELL_MAX_LEVEL - #SPELL_REQ_LEVEL )); //15 - ( ( (#MAGIC-30) / 100 ) ** -2.3 ); is_enhancement = true; is_permanent = true; is_single_instance = false; } [aura_blessing_3] { alteration = alter_dexterity; description = "3. description"; duration = #infinite; value = 1 + 14 * (( #MAGIC - #SPELL_REQ_LEVEL ) / ( #SPELL_MAX_LEVEL - #SPELL_REQ_LEVEL )); //15 - ( ( (#MAGIC-30) / 100 ) ** -2.3 ); is_enhancement = true; is_permanent = true; is_single_instance = false; } } } }