Chemical Protection Scrolls [ Support ] [ Suggest ]

ThyroDree

New member
Messages
556
Points
0
Location
Philippines
Github
bosxkate23
Emulator
how can i make the chemical protection scrolls don't need Glistening Coat to make it work?

 
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]

 
Last edited by a moderator:
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

 
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

 
Last edited by a moderator:
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; },{}
 
Back
Top