Battle Spell

Battle Spells are the fighting spells available during Combat, affected by Spell Skill level and the main tools of Spell Laws, such as . They come in two shapes, Orthodox spells taught by Manuals from Supreme Laws, and Unorthodox Spells generated randomly by the game from templates. Battle Spells may only be cast if the Cultivator is currently in combat mode either by attacking or being attacked by another Character or Object.
== Spell Fighting ==
=== Basics ===
The number of Spells available from Supreme Laws is not particularly high, and the powerful ones often have high cooldowns, making Spell fighters more difficult to use. Moreover, most manuals improving Spell power bonus also grow Spell Qi Cost in a similar proportion, forcing players to manage their costs in a similar manner as Artifact Max Qi can be a limiter for Artifact laws. 
As a result, it is generally advised for Spell-focused Cultivators to acquire a large number of randomly generated Battle Spells from Unorthodox Manuals and Laws. This can be done with , by Stealing, or by purchasing them from Trading. This means Shendao Cultivation, which doesn't have that option, is often deemed a poor fit for Spell fighting despite being designed for them.
On the other hand, offensive Spells targetting all enemies can be particularly potent, notably against Formations when trying to Conquer rival sects, and their healing spells can help them sustain themselves and their allies for drawn-out fights.
=== Spell Primordial Soul ===
Spell Primordial Soul allows the Cultivator to automatically cast spells while in combat, as long as their cooldown is up. The number of Spell Primordial Souls depends solely upon their Spell skill level and the Spell of TruthDLC Manual from DLC, which adds 2 (at the cost of 2 Max Artifacts). Otherwise, it is equal to 1 per 4 Spell skill levels above 16, so you'll have 1 with 20 skill level, 2 with 24, 3 with 28, etc, to a maximum of 9.
=== Spell Cooldown Reduction ===
The base Spell Cooldown reduction from Spell Skill level doesn't work in the base game (see Mods). However, it is possible to reduce the cooldown of spells through Artifacts with a special effect, that reduces the cooldown of all Battle Spells by 1s every few attacks:
* : every 2 attacks
* (Mystic Unity Sect Rented Artifact): every 5 attacks
* Shendao Sacred Relic with built: every 7 attacks
As a result, spellcasters can still benefit from having Artifact bonuses.
== Supreme Law ==
=== Spell list ===
==== Damage spells ====
Name	Cost 	CD 	Target 	Power	Element	Cast Time
DamageSkill_1	100 	5 	Single 	50 	 	1
DamageSkill_2	300 	30 	Single 	300 	 	1
DamageSkill_3	75 	1 	Single 	25 	 	1
DamageSkill_4	800 	10 	Single 	400 	 	1
DamageSkill_Gong4_1	200 	45 	All 	45 	 	1
DamageSkill_Gong7_1	5,000	600	Single Lowest Qi	1000 	 	1
==== Buff spells ====
Buff spells do not scale with Spell power bonus. Moreover, the spell decription is off by a factor 2. So a buff spell whose description states an increase of 50% is in fact a 25% increase. 
Name	Cost	CD	Target	Power 	Duration	Cast Time
SheildSkill_Gong4_1	330 	25	All 	+20% Barrier Power Bonus (Percent) (AddV)	25 	0.5
SkillSkill_Gong10_1	400 	90	Self 	+150% Base Spell power bonus (BAddP) 	10 	0.5
SheildSkill_Gong11_1	520 	45	All 	+40% Barrier Power Bonus (Percent) (AddV)	15 	0.5
SheildSkill_Gong5_1	100 	15	Self 	+50% Barrier Power Bonus (Percent) (AddV)	15 	0.5
FabaoSkill_Gong8_1	500 	60	Self 	
*+100% Base Artifact Power Bonus (BAddP)
*+100% Base Artifact Flying Speed Bonus (BAddP)
*+100% Base Artifact Turning Speed Bonus (BAddP)	15 	0.5
==== Healing Spells ====
The healing spells recover Qi, up to the maximum of their target.
Name	Cost	CD 	Power	Target 	Cast Time
HealthSkill_Gong1_1	700 	120 	400 	All Allies 	0.5
HealthSkill_Gong1_2	600 	1,200	1,200	All Allies 	0.5
HealthSkill_Gong4_1	500 	45 	1,000	Self 	0.5
HealthSkill_Gong9_1	200 	180 	3,000	Self 	0.5
HealthSkill_Gong9_2	200 	180 	3,000	Lowest Qi Ally	0.5
=== Manuals ===
Name	Cultivation Level	Cultivation Level	Source / Law 	Exclusive	Att.	Effect 	Element	Type
Name	# 	Stage 	Source / Law 	Exclusive	Att.	Effect 	Element	Type
Innate Qi
FightSkillEsoterica_1	1-3 	Qi Shaping 	
*True Sun Refining Law
*Six Paths Reincarnation Law
*Sixteen Supreme Steps Law
*Jade Purity Immortal Law	 	3 	Learn Battle Spell , which costs 100 Qi, has a cooldown of 5s, is cast on a single enemy and dealsXiaWorld.Fight.FightMgr.SkillDamageApply(), in the skilldef.Kind == g_emFightSkillKind.Damage conditional and XiaWorld.Thing.ReduceDamage(FightSkillDef...) 50 Base damage. 	 	Skill
Firestorm
FightSkillEsoterica_2	4-6 	Core Shaping 	
*True Sun Refining Law
*Jade Purity Immortal Law	 	3 	Learn Battle Spell , which costs 300 Qi, has a cooldown of 30s, is cast on a single enemy and dealsXiaWorld.Fight.FightMgr.SkillDamageApply(), in the skilldef.Kind == g_emFightSkillKind.Damage conditional and XiaWorld.Thing.ReduceDamage(FightSkillDef...) 300 Base damage. 	 	Skill
Heavenly Panacea
FightSkillEsoterica_Gong1_1	4-6 	Core Shaping 	
*Sixteen Supreme Steps Law
*Jade Purity Immortal Law	 	3 	Learn Battle Spell , which costs 700 Qi and heals the Qi of all allies by base 400 on 120s Cooldown. 	 	Skill
Spirit Shield
FightSkillEsoterica_Gong4_2	4-6 	Core Shaping 	Jade Purity Immortal Law 	 	3 	Learn Battle Spell , which costs 330 Qi, lasts 25 seconds, has a cooldown of 25s, is cast on all friendly NPCs and givesXiaWorld.Fight.FightMgr.SkillDamageApply(), in the skilldef.Kind == g_emFightSkillKind.Sheild conditional:
*+20% Barrier Power Bonus (Percent) (AddV) 	 	Skill
Vitality Chant
FightSkillEsoterica_Gong4_3	4-6 	Core Shaping 	Jade Purity Immortal Law 	 	3 	Learn Battle Spell , which costs 500 Qi and heals the Qi of the caster by base 1000 on 45s Cooldown. 	 	Skill
Divine Bolt
FightSkillEsoterica_3	7-9 	Golden Core 	Jade Purity Immortal Law 	 	3 	Learn Battle Spell , which costs 75 Qi, has a cooldown of 1s, is cast on a single enemy and dealsXiaWorld.Fight.FightMgr.SkillDamageApply(), in the skilldef.Kind == g_emFightSkillKind.Damage conditional and XiaWorld.Thing.ReduceDamage(FightSkillDef...) 25 Base damage. 	 	Skill
Astroflare
Gong10_LvUpEsoterica_3	7-9 	Golden Core 	True Sun Refining Law 	yes 	6 	Learn Battle Spell , which costs 400 Qi, lasts 10 seconds, has a cooldown of 90s, can be cast on self and givesXiaWorld.Fight.FightMgr.SkillDamageApply(), in the skilldef.Kind == g_emFightSkillKind.Skill conditional:
*+150% Base Spell power bonus (BAddP) 	 	Skill
Void Aegis
Gong11_LvUpEsoterica_5	7-9 	Golden Core 	Sunflower Refining Law 	yes 	6 	 	Barrier	
Soulsmite
Gong4_LvUpEsoterica_1	7-9 	Golden Core 	Jade Purity Immortal Law 	yes 	15 	Learn Battle Spell , which costs 800 Qi, has a cooldown of 10s, is cast on a single enemy and dealsXiaWorld.Fight.FightMgr.SkillDamageApply(), in the skilldef.Kind == g_emFightSkillKind.Damage conditional and XiaWorld.Thing.ReduceDamage(FightSkillDef...) 400 Base damage. 	 	Skill
Reversa Cycle
FightSkillEsoterica_Gong9_1	10-12 	Primordial Spirit	Six Paths Reincarnation Law	 	6 	Learn Battle Spell , which costs 200 Qi, heals the Qi of the caster by base 3000 on 180s Cooldown. 	 	Skill
Reversa Cycle - Secret
Gong9_LvUpEsoterica_5	10-12 	Primordial Spirit	Six Paths Reincarnation Law	yes 	6 	Learn Battle Spell , which costs 200 Qi and heals the Qi of the lowest Qi ally by base 3000 on 180s Cooldown. 	 	None
Chaos Void
FightSkillEsoterica_Gong4_1	10-12 	Primordial Spirit	Jade Purity Immortal Law 	 	8 	Learn Battle Spell , which costs 200 Qi, has a cooldown of 45s, is cast on all enemies and dealsXiaWorld.Fight.FightMgr.SkillDamageApply(), in the skilldef.Kind == g_emFightSkillKind.Damage conditional and XiaWorld.Thing.ReduceDamage(FightSkillDef...) 45 Base damage. 	 	Skill
Coagula Shield
Gong5_LvUpEsoterica_6	10-12 	Primordial Spirit	Heaven Stealing Law 	yes 	8 	Learn Battle Spell , which costs 100 Qi, lasts 15 seconds, has a cooldown of 15s, can be cast on self and givesXiaWorld.Fight.FightMgr.SkillDamageApply(), in the skilldef.Kind == g_emFightSkillKind.Sheild conditional:
*+50% Barrier Power Bonus (Percent) (AddV) 	 	Barrier
Arcane Infusion
Gong1_LvUpEsoterica_2	10-12 	Primordial Spirit	Sixteen Supreme Steps Law 	yes 	9 	Learn Battle Spell , which costs 600 Qi, has a cooldown of 1200s, is cast on all alliesXiaWorld.Fight.FightMgr.SkillDamageApply(), in the skilldef.Kind == g_emFightSkillKind.Health conditional and recovers a base 1200 Qi. 	 	None
Grand Chariot Ultimate (Northsword Ultima)
Gong8_LvUpEsoterica_10	10-12 	Primordial Spirit	Grand Chariot Wisdom Law 	yes 	9 	 	Fabao 	
Auraforce Blade
Gong7_LvUpEsoterica_6	10-12 	Primordial Spirit	Emotion Severing Law 	yes 	9 	Learn Battle Spell , which costs 5,000 Qi, has a cooldown of 600s, is cast on the lowest Qi enemy and dealsXiaWorld.Fight.FightMgr.SkillDamageApply(), in the skilldef.Kind == g_emFightSkillKind.Damage conditional and XiaWorld.Thing.ReduceDamage(FightSkillDef...) 1,000 Base damage.	 	Fabao
== Unorthodox Spells Templates ==
=== Generation ===
These are sometimes obtained from Spell Unorthodox Manuals. They have 50% chance to be a damage skillXiaWorld.Fight.SkillRandomMechine.RandomSkill(). Their Element (if applicable) is randomly selected, as well as their target among a selection depending on their template. The Cultivation Level of the Unorthodox Manual is used to determine a Power multiplier:
* >= 10 (Primordial Spirit): 2.5
* >=7 (Golden Core): 1.6
* >=4 (Core Shaping): 1.2
* otherwise: 1
The values of the spell are then generated within a random spread of x0.5-1.5 except for the power, which is within x0.8-1.2 multiplied by the Power multiplier.
Buff spells do not scale with Spell power bonus. Moreover, the buff spell decription is off by a factor 2. So a buff spell whose description states an increase of 50% is in fact a 25% increase. 
=== Template List ===
Icon	Template	Cost	Cost 	CD 	CD 	Effect 	Effect	Duration	Duration	Target	Cast Time	Cast Time
Icon	Template	Base	Spread 	Base	Spread	Base 	Spread	Base 	Spread 	 	Base 	Spread
 	Damage Skill
TDamageSkill	100 	50-150 	20 	10-30 	Deals 100*Power damage 	80-120	 	 	
* All Enemies (1/3)
* Lowest Qi (1/3)
* Closest (1/3)	1.5 	0.75-2.25
 	Recovery Skill
THealthSkill	100 	50-150 	120 	60-180	Heals 100*Power Qi 	80-120	 	 	
* Self (1/5)
* Single Ally (1/5)
* All Allies (1/5)
* Lowest Qi (1/5)
* Closest (1/5)	0.5 	0.25-0.75
 	Protection Enhancement
TSheildSkill	400 	200-600	120 	60-180	+25*Power % Barrier Power Bonus (Percent) (AddV)	20-30 	30 	15-45 	
* Self (1/2)
* All Allies (1/2)	0.5 	0.25-0.75
 	Spell Enhancement
TSkillSkill	240 	120-360	120 	60-180	+25*Power % Base Spell power bonus (BAddP) 	20-30 	10 	5-15 	
* Self (1/2)
* All Allies (1/2)	0.5 	0.25-0.75
 	Artifact Enhancement
TFabaoSkill	100 	50-150 	120 	60-180	
*+12.5*Power % Base Artifact Power Bonus (BAddP)
*+12.5*Power % Base Artifact Flying Speed Bonus (BAddP)
*+12.5*Power % Base Artifact Turning Speed Bonus (BAddP)	10-15 	60 	30-90 	
* Self (1/2)
* All Allies (1/2)	0.5 	0.25-0.75
== Formation ==
Formations have access to spells or abilities as well, which can be split into two categories:
* Basic Formation Abilities - Inherent abilities available to all Formations.
* Special Formation Abilities - Abilities unlocked by fulfilling certain conditions, available only with specific Nodes or Diagrams.
=== Basic Formation Abilities ===
The basic Formation abilities are available for all Formations during the period when it's active.
Name
Definition	Description 	Notes
Change Formation
ChangeZhen	Change a formation to cover exposed auxiliaries 	
Disband
CancelZhen	Disbands the formation. After disbanding a formation, some time must pass before a new formation can be formed. 	
Joint Artifact
JointJian	Everyone combines their Qi in order to control the formation pillar's artifact and refill it with Qi, drastically boosting the Artifact Power according to the formation's Sword Mastery Power Bonus. Everyone in the formation shares the Qi cost.	
Joint Spell
JointSkill	Everyone combines their Qi in order to help the formation pillar cast the next spell, boosting its power. The power increase is related to the formation's Spell Power Bonus. Everyone in the formation shares the Qi cost. 	
=== Special Formation Abilities ===
Name
Definition	Description 	Source	Notes
Heavenly Derivation
FightSkill_Zhen_RevealZhen1	Follows the pattern of the Stone Sentinel Maze to attack the weak points of the target formation. Lowers its stability and has a chance of exposing its auxhilaries. 	 	
Battle Aloofness
FightSkill_Zhen_RevealZhen2	Deals a huge amount of Qi damage to the target. 	 	
Domain of Five Peaks
FightSkill_Zhen_ZhenShield1	Create a domain spanning a 5-meter radius around the target point and use the formation's Qi to defend. 	 	
Domain of Vastness
FightSkill_Zhen_ZhenShield2	Create a domain spanning a 12-meter radius around the target point and use the formation's Qi to defend. 	 	
Domain of Wood Essence
FightSkill_Zhen_ZhenArea1	Create a domain spanning an 8-meter radius around the target point. Fertilizes the soil inside and increases the natural resilience of allied characters. 	 	
Domain of Heavenly Serenity
FightSkill_Zhen_ZhenArea2	Create a domain spanning an 8-meter radius around the target point. Increases the mental state, mood, cultivation speed of allied characters inside the domain. 	 	
Divine Sword of Phoenix
FightSkill_Zhen_JointJian1	Everyone combines their Qi in order to control the formation pillar's artifact and refill it with Qi, drastically boosting the Artifact Power according to the formation's Sword Mastery Power Bonus. Everyone in the formation shares the Qi cost.	 	
Divine Dragonroar
FightSkill_Zhen_JointSkill1	Everyone combines their Qi in order to help the formation pillar cast the next spell, boosting its power. The power increase is related to the formation's Spell Power Bonus. Everyone in the formation shares the Qi cost. 	 	
Divine Obliteration
FightSkill_Zhen_Stability1	Deals a huge amount of damage to the enemy's formation stability. 	 	
Nirvana
FightSkill_Zhen_Stability2	Recovers formation stability. 	 	
Ragestriker
FightSkill_Zhen_ZhuXian	After a short delay, deals a huge amount of Qi damage to enemies within a 12-meter radius of the target point. 	 	
=== Unused Formation Abilities ===
These are not fully implemented, and added just for completeness.
* Heat Up (ZhenTempAura)
* Enlarge (ZhenModifyArea)
* Shield Up (ZhenShield)
* Qi Transfer (TransLing)
* Lower Stability (Reducetability)
* Exposed Auxiliary (RevealZhen)
== Pets ==
Name	Pet(s)	Obtainment 	Cost 	CD 	Effect 	Target 	Duration	Cast Time
Ls_SheildSkill	 	Protection >= 50	330 	100 	+20% Barrier Power Bonus (Percent) (AddV) 	All Allies 	25 	0.3
Ls_TransferQi	 	Protection >= 80	1,500 	180 	Heals 3,000 Qi 	Ally except Self 	 	0.3
Ls_FabaoSkill	
* 
* 	Core >= 50 	200 	100 	
*+20% Base Artifact Power Bonus (BAddP)
*+20% Base Artifact Flying Speed Bonus (BAddP)
*+20% Base Artifact Turning Speed Bonus (BAddP)	All Allies 	30 	0.5
Ls_FoxSkillAmp	 	Qi >= 50 	200 	100 	+20% Base Spell power bonus (BAddP) 	All Allies 	30 	0.5
Ls_JinThunder	 	Spells >= 50 	400 	100 	Deals 150 Damage 	Single Enemy 	 	0.3
Ls_Confuse	 	Spells = 100 	240 	600 	
* Prevents the enemy to do anything for the duration
* The enemy artifacts are disabled over the duration
* Hitting the enemy lowers duration by 1sScripts/Scikk/class/lingshou/lingshou_confuse.lua & XiaWorld.JobConfuse	Single Enemy 	90 	0.3
Ls_Ci	 	Spells >= 50 	400 	100 	Deals 150 Damage 	Single Enemy 	 	0.5
Ls_AddModifier	 	Spells = 100 	240 	600 	
* +5,000% Barrier Power Bonus (Percent) (AddV)
* +1,000% Global Secret Body Endurance (Percent) (AddV)	Ally except Self 	25 	0.3
Ls_SkillWater	 	default 	240 	40 	Deals 180 Damage in the selected zone 	3 tiles area 	 	0.3
Ls_SkillWater5	 	Spells >= 50 	480 	120 	Deals 240 Damage in the 5 selected zones 	3 tiles area 	 	0.5
Ls_Fanshi	 	Spells = 100 	240 	600 	
* Similar to Flood Dragon's Countercharge, without AoE or Spell Power scaling
* Also prevents the target from using their Artifacts over the duration	Single Enemy 	150 	0.3
Ls_Penhuo	 	Spells >= 50 	240 	45 	Deals 240 Damage 	All Enemies 	 	0.5
Ls_Rongduan	 	Spells = 100 	240 	600 	
* Deals a total of 1,000,000 Damage equally shared to all characters (allies included) in a 11x11 square area around the target
* Prevents the target from using Battle Spells for the duration	Single Enemy 	150 	
Ls_OC	
* DLC
* DLC	Spells >= 50 	400 	100 	Deals 150 Damage 	Single Enemy 	 	0.5
Ls_Erosion	DLC 	Spells = 100 	240 	1,500	
* -50% Base Barrier Power Bonus (Percent) (BAddV). This unfortunately does almost nothing as most bonuses to Barrier Power Bonus Percent are flat (AddV), with the only exception being the modifier from the "It gets Harder" Immortal constraint, which stacks way too high for it to matter anw
* -40 Global Secret Body Endurance (Value) (AddV). This also is negligible compared to the bonuses from Body Cultivators opponents	Single Enemy 	1,000 	0.3
Ls_XuanWuDefac	DLC 	Justice < -35 	50,000	900 	
* Adds 1,000 Stability
* Adds 1 Formation Energy 	all Friendly Formations	 	
Ls_XuanWuBreak	DLC 	Justice < -25 	1,000 	600 	
* -5,000% Barrier Power Bonus (Percent) (AddV)
* -1,000% Global Secret Body Endurance (Percent) (AddV)	Single Enemy 	25 	0.5
LsXuanWuFire	DLC 	Justice < 0 	100 	40 	Deals 150 Damage in a 3 range area around the target 	Single Enemy 	 	0.5
Ls_XuanWuWater	DLC 	Justice >= 0 	240 	40 	Heals 240 Qi in a 3 range area around the target 	Ally except Self 	 	0.5
Ls_XuanWuShield	DLC 	Justice >= 25 	1,000 	600 	
* +5,000% Barrier Power Bonus (Percent) (AddV)
* +1,000% Global Secret Body Endurance (Percent) (AddV)	Ally except Self 	25 	0.5
Ls_XuanWuForm	DLC 	Justice >= 35 	50,000	900 	Exposes a random Auxiliary, which deprives them of the Damage Sharing effect of Formations	Enemy Formation 	 	0.5
== Shendao ==
Name	Guard 	Law / Source 	Cost	CD 	Effect 	Target 	Duration	Cast Time
FightSkill_God_Damage1	Naga Long 	 	75 	1 	Deals 150 Damage 	Single Enemy	 	1
FightSkill_God_Damage2	Polis Sha 	Polis Lumina Core	200 	45 	Deals 100 Damage 	All Enemies 	 	1
FightSkill_God_FaBao1	Asura Mo 	 	200 	30 	
*+20% Base Artifact Power Bonus (BAddP)
*+20% Base Artifact Flying Speed Bonus (BAddP)
*+20% Base Artifact Turning Speed Bonus (BAddP)	Self 	30 	0.5
FightSkill_God_FightSkill1	Yaksha Luo 	 	400 	90 	+150% Base Spell power bonus (BAddP) 	Self 	10 	0.5
FightSkill_God_Sheild1	Black Judge Fan 	 	330 	25 	+20% Barrier Power Bonus (Percent) (AddV)	All Allies 	25 	0.5
FightSkill_God_Health1	Flower Spirit Xiang	default 	500 	45 	Heals 800 Qi 	Self 	 	0.5
FightSkill_God_Health2	Kinnara Yue 	 	700 	120	Heals 250 Qi 	All Allies 	 	0.5
== Body Cultivation ==
== Mods ==
* Iguana's Overhaul, fixes: Corrects the Spell Cooldown Bonus Property, allowing it to be functional in-game.
== References ==