Table of Contents

Smash Spell - Code References

Lua Script Implementation

This spell is implemented entirely in Lua. The main implementation file is:

Spell Configuration (from Lua):

image         = 3
imageFile     = "spellsIcons/warrior.png"
name          = "SmashSpell_Name"
info          = "SmashSpell_Info"
magicAffinity = "Combat"
targetingType = "self"
level         = 4
spellCost     = 10
cooldown      = 10
castTime      = 0.5

Spell Effects:

Java Classes

JSON Configuration

This entity is implemented in Lua, no JSON configuration exists

String Resources

<string name="SmashSpell_Name">Smash</string>
<string name="SmashSpell_Info">Jump upwards and create a powerful smash upon hitting the ground,that temporarily stuns enemies around and at the same time deals physical damage.</string>
<string name="SmashSpell_NeedWeapon">I need a weapon for this move.</string>