SQL copying

andykid131

Golden Oldie
Golden Oldie
Mar 16, 2006
621
3
53
165
As far as I'm aware, just change the field that chooses which class you need to be to have the spell, in TBL_MAGIC
 
Upvote 0

samhag

Dedicated Member
Dedicated Member
Jul 31, 2008
213
0
42
Make a new row in TBL_MAGIC
FLD_ID ... must remain in sequence
FLD_MIMICID ...is the same as the original spell so if the warrior halfmoon is 25 the new spell must also have a value of 25
FLD_NAME ... whatever ya wanna call it

other values copy from original spell,

(FLD_JOB is the class, 0=warr 1=wizz 2=tao)
 
Upvote 0

solvent

LOMCN Veteran
Veteran
Jul 24, 2006
457
0
43
On The Sun
Make a new row in TBL_MAGIC
FLD_ID ... must remain in sequence
FLD_MIMICID ...is the same as the original spell so if the warrior halfmoon is 25 the new spell must also have a value of 25
FLD_NAME ... whatever ya wanna call it

other values copy from original spell,

(FLD_JOB is the class, 0=warr 1=wizz 2=tao)


iv done that, and my tao able to learn the spell, when i select wat key to use the spell i.e F1 it not allow the spell to work, dont even say "halfmoon enabled"

any idea's why this is ? >.<
 
Upvote 0

akacary2

LOMCN Veteran
Veteran
Loyal Member
Dec 11, 2008
274
1
44
Hartlepool
Sorry 2 post cos i know its an old thread, just incase sum 1 else wants help

In my TBL_MAGIC i have:

56 25 TaoHalfMoon 0 23 0 0 0 3 0 0 2 45 5000 47 8000 50 14000 0 NULL

I also added the spell book in TBL_STDITEMS and wallah it works fine 4 me

TaoHalfMoon 4 2 1 0 0 0 1074 45 0 0 0 0 0 0 0 0 0 0 0 0 65000 5 NULL NULL NULL NULL NULL NULL NULL False 0 NULL True True True True True True True True NULL

The 1074 = book image in my db so ul need to change but all the other values should work fine
Hope this helps sum 1
 
Last edited:
Upvote 0