====== Summon Beast Spell - Code References ====== ===== Java Classes ===== This entity is implemented in Lua, no Java class exists ===== JSON Configuration ===== This entity is implemented in Lua, no JSON configuration exists ===== String Resources ===== Beast Call Attempt to summon a horde of mighty beasts to obey your command.\nActual results may vary. At your command! ===== Lua Scripts ===== * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/scripts/spells/SummonBeast.lua|SummonBeast.lua]] - Main spell implementation ===== Implementation Details ===== * **Script Location**: scripts/spells/SummonBeast.lua * **Dependencies**: * scripts/lib/commonClasses (RPD) * scripts/lib/spell * **Spell Properties**: * image = 3 * imageFile = "spellsIcons/hunting.png" * name = "SummonBeast_Name" * info = "SummonBeast_Info" * magicAffinity = "Huntress" * targetingType = "self" * level = 4 * castTime = 1 * spellCost = 20 * **Behavior**: * Spawns beasts in cells around the caster * Beast pool: {"Snail", "Rat", "Crab", "Swarm", "Bat", "Spinner", "Scorpio", "Worm"} * Beast selection based on skill level: math.random(skillLevel/2, skillLevel+1) * Spawn chance: math.random() > 1/skillLevel * Spawned beasts become hero's pets * Beast says "SummonBeast_AtYourCommand" when summoned * **Key Functions**: * desc() - Returns spell description table * cast(self, spell, caster) - Executes spell casting logic