Jump to content

Recommended Posts

Posted (edited)

Please let me share my 3 new versions of SC_ITEMSCRIPT. SC_ITEMSCRIPT source code is already embedded on the latest emulator so i will just share my source codes for the version 2 - 4 of SC_ITEMSCRIPT. This function is very usefull in different ways but for me i used it to get an effect from an item without having the actuall item on my storage,inventory or equipment and use it as a additional buff.

SC_ITEMSCRIPT: Additional bonus effect/buff can be dispell by dispell skill and on death.
SC_ITEMSCRIPT2: Additional bonus effect/buff can be dispell by dispell skill but not on death.
SC_ITEMSCRIPT3: Additional bonus effect/buff can be dispell on dearth but not by dispell skill.
SC_ITEMSCRIPT4: Additional bonus effect/buff cannot by dispell by dispell skill nor on death.

I know it is an easy script but the idea is useful. ?

-    script    samplebuff    -1,{
OnPCLoginEvent:
//sc_start sc_itemscript,<duration(- value for unlimited duration and + for limited duration)>,<itemid>;
//use SC_ITEMSCRIPT for buff dispellable by death and dispell skill
//use SC_ITEMSCRIPT2 for buff not dispellable by death but dispellable by dispell skill
//use SC_ITEMSCRIPT3 for buff not dispellable by dispell skill but dispellable by death
//use SC_ITEMSCRIPT4 for buff not dispellable by dispell skill and dispell skill
//This script use gives 10% Fire resistance from Ring of Flame lord effect permanently (it cannot be dispell by dispell skill nor on death)
SC_START SC_ITEMSCRIPT4,-1,2678;//additional effect(1000=1sec)
end;
}

SC_ITEMSCRIPT Manual diff.txt

Edited by Forshaken
  • Upvote 1
  • 1 year later...
Posted
On 3/2/2020 at 11:42 PM, Forshaken said:

Please let me share my 3 new versions of SC_ITEMSCRIPT. SC_ITEMSCRIPT source code is already embedded on the latest emulator so i will just share my source codes for the version 2 - 4 of SC_ITEMSCRIPT. This function is very usefull in different ways but for me i used it to get an effect from an item without having the actuall item on my storage,inventory or equipment and use it as a additional buff.

SC_ITEMSCRIPT: Additional bonus effect/buff can be dispell by dispell skill and on death.
SC_ITEMSCRIPT2: Additional bonus effect/buff can be dispell by dispell skill but not on death.
SC_ITEMSCRIPT3: Additional bonus effect/buff can be dispell on dearth but not by dispell skill.
SC_ITEMSCRIPT4: Additional bonus effect/buff cannot by dispell by dispell skill nor on death.

I know it is an easy script but the idea is useful. ?

-    script    samplebuff    -1,{
OnPCLoginEvent:
//sc_start sc_itemscript,<duration(- value for unlimited duration and + for limited duration)>,<itemid>;
//use SC_ITEMSCRIPT for buff dispellable by death and dispell skill
//use SC_ITEMSCRIPT2 for buff not dispellable by death but dispellable by dispell skill
//use SC_ITEMSCRIPT3 for buff not dispellable by dispell skill but dispellable by death
//use SC_ITEMSCRIPT4 for buff not dispellable by dispell skill and dispell skill
//This script use gives 10% Fire resistance from Ring of Flame lord effect permanently (it cannot be dispell by dispell skill nor on death)
SC_START SC_ITEMSCRIPT4,-1,2678;//additional effect(1000=1sec)
end;
}

SC_ITEMSCRIPT Manual diff.txt 3.93 kB · 28 downloads

Ok guys here is the bug fix for dispel mechanics.

SC_ITEMSCRIPT ManualV2.txt

Join the conversation

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

Guest
Reply to this topic...

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...