obj/Twister_LV1
icon = 'Items.dmi'
icon_state = "Scroll"
worth = 50
verb
Get()
set src in oview(1)
src.Move(usr)
Drop()
Move(usr.loc)
Learn()
src.verbs+= /mob/spells/verb/Twister_LV1
okay thats the code for learning a spell but the word doesnt appear in the Magic/techniques tab it appears in the command tab and i dont want that how do i fix it and add in so only mages and learn it too?
ID:174411
Aug 18 2003, 9:55 am
|
|
Aug 18 2003, 10:16 am
|
|
I dont get what your probleme is...
|
Darkfirewolf5 wrote:
obj/Twister_LV1 I think i know what you want. 1st/ You have to add set category = "Magic/techniques" 2nd/ To make only mages can learn it, under the Learn() verb on the object, make a if(src.class == "mage") |