• 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!

[Request] spells you can only use on players.

Taurus

Texass
Joined
Jan 11, 2009
Messages
616
Solutions
2
Reaction score
30
Location
United States
I need spells for version 0.3.6 (patch level 1)That you can only use against players.

"you may only attack players with this spell"

Or maybe someone could show me a specific line ot luacode that I can add to existing spells, to make them work as thus.

thanks to all in advance for this.

The spells dont need to be anything specific, i can adapt the script to my own spells I'm sure. I just appreciate any help I can get. thanks.
 
We're half way there. Thank you very much!

I'm gonna go try this out.

Does anyone know of another way i can make spells that Won't damage monsters? (Only dmg players.)
 
Either with combatCallback onTargetTile and check if there is player on tile.
Or if it is a single target spell with:
variantToNumber(var) ~= 0
isPlayer(variantToNumber(var))
 
Thanks guys.

Im gonna play around with these functions you guys have listed and post some sample scripts :)

Dont beat your heads against the wall too hard until then k.
 
Back
Top