Jump to content
  • 0

bonus run on type of healing or food


Jack.Lion

Question


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  3
  • Reputation:   0
  • Joined:  02/09/12
  • Last Seen:  

anyone know , the bouns just work on equip.

but , I want script code can run on type of healing or food.

Example:

durationscript <duration>,<script>

501,Red_Potion,Red Potion,0,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ durationscript 5000,"{ bonus bStr,5; }"; },{},{}

like autobonus

when i using Red Potion can add 5 str in 5sec.

as a result , we can create tmp's sc_start script.

can some one help me,please?

Edited by Jack.Lion
Link to comment
Share on other sites

5 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

But sc_start already has a time argument. o.o;

{ sc_start SC_STRFOOD, 5000, 5; }

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  3
  • Reputation:   0
  • Joined:  02/09/12
  • Last Seen:  

so , can add timer to PC add script code?

example

#12436

Vitata_500

we need not to create new sc_scart

we just

{ durationscript 500000,"{ bonus bMaxSPrate,5; bonus bSPrecovRate,20; }"; }


sorry , i don't know this is short nessage.

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2345
  • Joined:  10/28/11
  • Last Seen:  

LOL ?

do you understand how to use those sc_start command ?

Euphy try to tell you that sc_sctart akready got the time settings...

you just use the same script provided by Euphy and add in the vitata500 item script in item_db.txt

or you want to choose a hardway instead of an easy way ? /hmm

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  3
  • Reputation:   0
  • Joined:  02/09/12
  • Last Seen:  

LOL ?

do you understand how to use those sc_start command ?

Euphy try to tell you that sc_sctart akready got the time settings...

you just use the same script provided by Euphy and add in the vitata500 item script in item_db.txt

or you want to choose a hardway instead of an easy way ? /hmm

I know how to use sc_start.

create new a sc_start , need to compiled source code.

so , add to script code can create tmp's sc_start.

i try again to comply, thx.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  9
  • Reputation:   1
  • Joined:  06/03/12
  • Last Seen:  

create new item with bonus that you want.

and use this command in healing or food item.

sc_start SC_ITEMSCRIPT,duration_in_millisecond,item_id;

Link to comment
Share on other sites

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...