Jump to content
  • 0
Sign in to follow this  
ThyroDree

Chemical Protection Scrolls [ Support ] [ Suggest ]

Question

4 answers to this question

Recommended Posts

  • 0

try to put this in your item_db2.conf

[cbox]{

Id: 13543

AegisName: "CP_Helm_Scroll_Box"

Name: "Chemical Protection Helm Scroll Box"

Type: 18

Buy: 20

Upper: 63

Script: <"

getitem 14517,10;

">

},

{

Id: 13544

AegisName: "CP_Shield_Scroll_Box"

Name: "Chemical Protection Shield Scroll Box"

Type: 18

Buy: 20

Upper: 63

Script: <"

getitem 14518,10;

">

},

{

Id: 13545

AegisName: "CP_Armor_Scroll_Box"

Name: "Chemical Protection Armor Scroll Box"

Type: 18

Buy: 20

Upper: 63

Script: <"

getitem 14519,10;

">

},

{

Id: 13546

AegisName: "CP_Weapon_Scroll_Box"

Name: "Chemical Protection Weapon Scroll Box"

Type: 18

Buy: 20

Upper: 63

Script: <"

getitem 14520,10;

">

},

[/cbox]

Edited by themon

Share this post


Link to post
Share on other sites
  • 0

try to put this in your item_db2.conf

[cbox]{

Id: 13543

AegisName: "CP_Helm_Scroll_Box"

Name: "Chemical Protection Helm Scroll Box"

Type: 18

Buy: 20

Upper: 63

Script: <"

getitem 14517,10;

">

},

{

Id: 13544

AegisName: "CP_Shield_Scroll_Box"

Name: "Chemical Protection Shield Scroll Box"

Type: 18

Buy: 20

Upper: 63

Script: <"

getitem 14518,10;

">

},

{

Id: 13545

AegisName: "CP_Armor_Scroll_Box"

Name: "Chemical Protection Armor Scroll Box"

Type: 18

Buy: 20

Upper: 63

Script: <"

getitem 14519,10;

">

},

{

Id: 13546

AegisName: "CP_Weapon_Scroll_Box"

Name: "Chemical Protection Weapon Scroll Box"

Type: 18

Buy: 20

Upper: 63

Script: <"

getitem 14520,10;

">

},

[/cbox]

no not this, if i click the Scroll skill is failed because scroll needs g.coat how to remove need at g.coat to chemical protection on scrolls

Share this post


Link to post
Share on other sites
  • 0

Add this to your item_db2.conf

{	Id: 14517	Inherit: true	Script: <" specialeffect2 EF_CHEMICALPROTECTION; sc_start SC_PROTECTHELM,300000,10; ">},{	Id: 14518	Inherit: true	Script: <" specialeffect2 EF_CHEMICALPROTECTION; sc_start SC_PROTECTSHIELD,300000,10; ">},{	Id: 14519	Inherit: true	Script: <" specialeffect2 EF_CHEMICALPROTECTION; sc_start SC_PROTECTARMOR,300000,10; ">},{	Id: 14520	Inherit: true	Script: <" specialeffect2 EF_CHEMICALPROTECTION; sc_start SC_PROTECTWEAPON,300000,10; ">},

It will last for 5mins

Share this post


Link to post
Share on other sites
  • 0

Or maybe you could use itemskill with the flag set to 1 so that you'll ignore the skill's prerequisites:

 

 

*itemskill <skill id>,<skill level>,{flag};
*itemskill "<skill name>",<skill level>,{flag};
 
This command meant for item scripts to replicate single-use skills in
usable items. It will not work properly if there is a visible dialog
window or menu.
If the skill is self or auto-targeting, it will be used immediately.
Otherwise, a target cursor is shown.
Flag is a optional param and, when present, the command will not check for
skill requirements.
 
// When Anodyne is used, it will cast Endure (8), Level 1, as if the
// actual skill has been used from skill tree.
605,Anodyne,Anodyne,11,2000,0,100,,,,,10477567,2,,,,,{ itemskill 8,1; },{}

Share this post


Link to post
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.   Restore formatting

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.