Jump to content
  • 0

Can you use Scripts in mob stat columns


fightthefallen

Question


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  12
  • Reputation:   1
  • Joined:  01/22/15
  • Last Seen:  

Hi guys, I have some ideas I have been messing around with, and one step includes *POSSIBLY* needing to add scripts in the mob_db stat columns.

I want to have some custom mobs that will walk around and attack other mobs and level up (different obstacle altogether) but i want to add in a way that makes them harder as they level up (set stat and hp/sp increases, along with higher exp/jexp rewards)

To this point I have just been kind of looking through the doc/mob_db and script_commands files and winging it.

What I have right now is this, obviously doesn't work.

4000,MOBSTER,Bandito,Bandito,1,{bonus UMOB_MAXHP, 300*UMOB_LEVEL;},1,{bonus BaseExp, 10000*UMOB_LEVEL;},{bonus JobExp, 7500*UMOB_LEVEL;},2,{bonus UMOB_ATKMAX, 150*UMOB_LEVEL;},{bonus UMOB_ATKMIN, 100*UMOB_LEVEL;},{bonus UMOB_DEF, 12+UMOB_LEVEL;},{bonus UMOB_MDEF, 12+UMOB_LEVEL;},{bonus UMOB_STR, 11+UMOB_LEVEL;},{bonus UMOB_AGI, 11+UMOB_LEVEL;},{bonus UMOB_VIT, 11+UMOB_LEVEL;},{bonus UMOB_INT, 11+UMOB_LEVEL;},{bonus UMOB_DEX, 11+UMOB_LEVEL;},{bonus UMOB_LUK, 11+UMOB_LEVEL;},10,12,1,7,20,0x84127,150,1000,800,100,25000,616,100,12106,100,12105,100,2576,1,714,10,12623,10,17429,10,22869,100,14017,100,13043,100,19742,1,7444,1000,0,0

I notice in the map server cmd this error.

[Map][4:13] [Error]: sv_readdb: Too many columns in line 2948 of "db/re/mob_db.txt" (found 70, maximum is 57).

This is from putting the script into the stat columns, and the comma's inside the scripts being read as starts to new columns.

Is there a way to write the scripts WITHOUT comma's? Is there another way to get these ideas to work?

Or is this a lost cause and just ridiculous and never going to work.

I am literally just winging it and thought this may be possible.

Either way, thank you in advance :D

 

EDIT~~~~~

 

So it seems that you cannot use {} or () in any of these columns or the value defaults to 1.

Also trying something like 300*MOB_LV will not work.

Is there no way?!? T.T

Edited by fightthefallen
Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...