• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Lua Spell issue!

KikiRook

₆⁶₆NOS Titan₆⁶₆
Joined
May 29, 2016
Messages
382
Reaction score
104
Location
Japan
How do I go about making a specific spell shoot the way I face? Atm it only goes Up
 
Also I looked at Exori Vis and Tried pretty much going from that and now I have the spell only doing Down but it does 1 effect the way I face But not the damage.
 
just look at the waves in spells.lua in spell lib folder
Code:
AREA_SQUAREWAVE5 = {
{1, 1, 1},
{1, 1, 1},
{1, 1, 1},
{0, 1, 0},
{0, 3, 0}
}
for example put
area = {
{3}
}
will always shoot it 1 tile in ur lookdirection
 
3 is always the player in the players lookdirection, so
area= {
{1},
{3}
}
will shoot the effect 2 tiles in ur lookdirection (with only {3} it will always shoot 1 tile only)
 
well, a really long time ago for spells you had to use 1/2/3/4 to decide where you wanted to shoot depending on lookdirection, thankfully they realized it was annoying as fuck and implemented this system :)
 
Back
Top