spell
setRune
name = "Set Rune"
cost = 300
target = "Self"
use(var/mob/M)
if(..() == 0) return 0
world << "testing"
var/rune/R = new /rune (M.x,M.y,M.z)
world << "testing"
R.setOwner(M)
world << "testing"
var/spell/S = input(M,"Select a spell to arm the rune with.","Arm Rune") in M.spellbook.spells + ""
world << "testing"
R.spell = new S.type (null)
world << "testing"
use() in DS outputs:
testing
testing
testing
testing
testing
So why does it not make a rune OR come up with an input to arm it? There is no compiler or run-time error.
-Lord of Water
-AbyssDragon