Magic

Mu online season 21 - grand opening

Legendwizard

Dedicated Member
Dedicated Member
Aug 19, 2005
54
0
32
hey guys just wondering if and one can tell me how to assign a spell to a book and what all the ac1, ac2, etc. mean when assigning that spell.
 

KhaosOdin

Dedicated Member
Dedicated Member
Aug 22, 2003
78
0
83
Unknown Province
Put this in your STDitems.db Database

IDX Number - Spell Name - Class - Weight - 0 - 0 - 0 - Level Required for Spell

The only other columns that matter aside from those first 8 are the price and stock columns, everything else does nowt.

e.g.

358 - Fireball - 1 - 1 - 0 - 0 - 0 - 7 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 2000 - 5

The IDX Number has to be in order down the page, e.g. 1 2 3 4 5 6 etc
The Spell Name has to been identical to the magic.db version you are trying to add
The Class is defined by the number, 0 for Warrior, 1 for Wizard, 2 for Taoist
The Weight is just how much it weighs in your bag
The Level Required for Spell is, well, self explanatory

/KhaosOdin
 
Upvote 0

Legendwizard

Dedicated Member
Dedicated Member
Aug 19, 2005
54
0
32
thanks, i got Flame field spell created but im having trouble having it stick to body. atm it works a bit like ice storm.
 
Upvote 0

Far

tinmymouthpl0x
Staff member
Administrator
May 19, 2003
20,683
33
3,286
520
u do realise, just by adding the spell to the db, it doesnt automatically make it work.

the spell actually has to be hard coded into the server.

i believe the only set of files which has flamefield working is DM2, though i may b wrong, 1.9 also might have it.
 
Upvote 0

Far

tinmymouthpl0x
Staff member
Administrator
May 19, 2003
20,683
33
3,286
520
why was that not helpful. if its not coded, it wont work, so why try?

anymore abusive comments and ull recieve a warning.
 
Upvote 0

Knight

Dedicated Member
Dedicated Member
Jul 25, 2006
11
0
27
Farphit said:
why was that not helpful. if its not coded, it wont work, so why try?

anymore abusive comments and ull recieve a warning.

Check his signature mate.
 
Upvote 0

Legendwizard

Dedicated Member
Dedicated Member
Aug 19, 2005
54
0
32
i think you will find the first one to throw abuse would be farphit when he called me a spastic.
 
Upvote 0

Senture

LOMCN VIP
VIP
Feb 8, 2004
1,529
1
164
I think you will find that the first person to use the word "spastic" in this thread is you.
 
Upvote 0

Far

tinmymouthpl0x
Staff member
Administrator
May 19, 2003
20,683
33
3,286
520
nah hes right, i did call him a spastic. im sorry, next time you next idiotic posts ill congratulate you instead.
 
Upvote 0