Page 1 of 1

Some commonly used spells i thought deserved to be here

Posted: Mon Dec 12, 2022 3:22 pm
by CesiumHorizon
Here are some commonly used spells ive thrown together and attempted to make as mishapless as possable.

Break Block:
costs 2 media
breaks the block your looking at if there is one to break

Code: Select all

//inital raycast
Mind's Reflection
Compass' Purification
Mind's Reflection
Alidade's Purification
Archer's Distillation
Gemini Gambit
Huginn's Gambit

//test if ray hit
Nullary Reflection
Inequality Distillation
Augur's Purification

//to be cast when there is a hit
{
    Muninn's Reflection
    Break Block
}

//to be cast when not hit
{

}

//cast the correct spell based off of ray result
Augur's Exaltation
Hermes' Gambit
Summon Light:
costs 4 media
places a conjured light on the surface your looking at and replaces and transparent blocks

Code: Select all

//inital raycast
Mind's Reflection
Compass' Purification
Mind's Reflection
Alidade's Purification
Archer's Distillation
Gemini Gambit
Huginn's Gambit

//test if ray hit
Nullary Reflection
Inequality Distillation
Augur's Purification

//to be cast when= hit
{
    Muninn's Reflection
    Mind's Reflection
    Compass' Purification
    Mind's Reflection
    Alidade's Purification
    Architect's Distillation
    Additive Distillation

    Gemini Decomposition
    
    Break Block
    Conjure Light
}

//to be cast when not hit
{

}

//cast the correct spell based off of ray result
Augur's Exaltation
Hermes' Gambit
(warning this last one is untested)
Hammer:
costs 28 media
breaks a 3x3x3 area around the block the player is looking at

Code: Select all

//inital raycast
Mind's Reflection
Compass' Purification
Mind's Reflection
Alidade's Purification
Archer's Distillation
Gemini Gambit
Huginn's Gambit

//test if ray hit
Nullary Reflection
Inequality Distillation
Augur's Purification

//to be cast when there is a hit
{
    //cycle through all vectors in list and break the block that was hit by raycast offset by said vector
    {
        Muninn's Reflection
        Additive Distillation
        
        Break Block
    }
    Consideration: Consideration [(-1,-1,-1),(0,-1,-1),(1,-1,-1), (-1,-1,0),(0,-1,0),(1,-1,0), (-1,-1,1),(0,-1,1),(1,-1,1),  (-1,0,-1),(0,0,-1),(1,0,-1), (-1,0,0),(0,0,0),(1,0,0), (-1,0,1),(0,0,1),(1,0,1),  (-1,1,-1),(0,1,-1),(1,1,-1), (-1,1,0),(0,1,0),(1,1,0), (-1,1,1),(0,1,1),(1,1,1)]
    
    Thoth's Gambit

    //clear stack if for some reason this is being cast by a wisp
    Bookkeeper's Gambit: v
}

//to be cast when not hit
{

}

//cast the correct spell based off of ray result
Augur's Exaltation
Hermes' Gambit

Re: Some commonly used spells i thought deserved to be here

Posted: Mon Dec 12, 2022 4:28 pm
by kristi fristi
an empty intro retro can be replaced with vacant reflection in order to save space
also, unless you want to cast multiple spells at once, you don't actually have to care about mishaps since they don't draw any media from you. for these spells the conditionals are completely unnecessary.
use of the ravenmind is unnecessary as well. hermes' gambit can draw form the rest of the stack when executing patterns. thoth takes the pre-existing stack with it too. if you insist on avoiding mishaps and want the stack to clear on the alternate, you can use bookkeeper's for it.
and while the hammer would work, in most cases it will break a 3x3x2 area because of being centered on the block you're looking at.

Code: Select all

mind's reflection
compass purification
mind's reflection
alidade's purification
dioscuri gambit
archer's distillation
rotation gambit 2
architect's distillation
subtractive distillation //makes center of the 3x3x3 cube behind the block you're looking at
{
 additive distillation
 break block
}
consideration
bookkeeper's: - //replace with vector field/list of vectors
thoth's gambit
would probably make more sense, especially with conscutive uses.
and if you really want to save on the casting cost of 3x3x3 break, you can check for block presence by comparing a raycast from a position with that original position, or use hexal's types to see if the block you trying to break is air, and use augur's exaltation on that.
lastly, please don't post an untested spell in akashic records, it kind of defeats the purpose of it