Jack.Lion Posted June 1, 2012 Share Posted June 1, 2012 (edited) 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 June 1, 2012 by Jack.Lion Quote Link to comment Share on other sites More sharing options...
Euphy Posted June 1, 2012 Share Posted June 1, 2012 But sc_start already has a time argument. o.o; { sc_start SC_STRFOOD, 5000, 5; } Quote Link to comment Share on other sites More sharing options...
Jack.Lion Posted June 1, 2012 Author Share Posted June 1, 2012 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. Quote Link to comment Share on other sites More sharing options...
Emistry Posted June 1, 2012 Share Posted June 1, 2012 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 ? Quote Link to comment Share on other sites More sharing options...
Jack.Lion Posted June 1, 2012 Author Share Posted June 1, 2012 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 ? 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. Quote Link to comment Share on other sites More sharing options...
Tizoc Posted June 4, 2012 Share Posted June 4, 2012 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; Quote Link to comment Share on other sites More sharing options...
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.LionLink to comment
Share on other sites