Jump to content
  • 0
Sign in to follow this  
minx123

how to make skill will gone when upequip custom

Question

i want make will not stack together with other skill..

when player equip custom they can cast the skill and the buff will show on right side.

but when they unequip the buff  will gone..

 

 

{    Id: 30259    AegisName: "Spirit_Of_Blue_Soul"    Name: "Spirit Of Blue Soul"    Type: 5    Buy: 0    Weight: 100    Slots: 1    Loc: 1    Refine: false    View: 1719    Trade: {        notrade: true        noauction: true        nodrop: true        nogstorage: true        nomail: true        noselltonpc: true    }    Script: <"        skill HP_ASSUMPTIO,1;        bonus2 bSubRace,RC_DemiHuman,10;        bonus bLongAtkDef,10;        ">},
Edited by minx123

Share this post


Link to post
Share on other sites

6 answers to this question

Recommended Posts

  • 0

 

All of these are defined as constants on the db/const.txt file of Hercules, along with a lot of other constants used throughout the scripting engine

thank you for helping..

 

i more problem..

energy coat not gone when i unequip the custom.. why?

@@Zhao Chow

 

this list skill not effect when unequip custom.

 

1-Energy Coat.

 

{	Id: 30260	AegisName: "Spirit_Of_Green_Soul"	Name: "Spirit Of Green Soul"	Type: 5	Buy: 0	Weight: 100	Slots: 1	Loc: 1	Refine: false	View: 1720	Trade: {		notrade: true		noauction: true		nodrop: true		nogstorage: true		nomail: true		noselltonpc: true	}	Script: <"		skill CR_FULLPROTECTION,1;		bonus2 bSubRace,RC_DemiHuman,10;		bonus bNearAtkDef,10;		">	OnUnequipScript: <" 		sc_end EF_CHEMICALPROTECTION; 	">},

 

2-Improve Concentration

 

{	Id: 30262	AegisName: "Spirit_Of_Purple_Soul"	Name: "Spirit Of Purple Soul"	Type: 5	Buy: 0	Weight: 100	Slots: 1	Loc: 1	Refine: false	View: 1722	Trade: {		notrade: true		noauction: true		nodrop: true		nogstorage: true		nomail: true		noselltonpc: true	}	Script: <"		skill AC_CONCENTRATION,1;		bonus bMagicAtkDef,10;		bonus bNearAtkDef,10;	">	OnUnequipScript: <" 		sc_end EF_CONCENTRATION; 	"> 

 

3-Full Chemical Protection

 

{	Id: 30261	AegisName: "Spirit_Of_Orange_Soul"	Name: "Spirit Of Orange Soul"	Type: 5	Buy: 0	Weight: 100	Slots: 1	Loc: 1	Refine: false	View: 1721	Trade: {		notrade: true		noauction: true		nodrop: true		nogstorage: true		nomail: true		noselltonpc: true	}	Script: <"		skill MG_ENERGYCOAT,1;		bonus bMagicAtkDef,10;		bonus bLongAtkDef,10;	">	OnUnequipScript: <" 		sc_end EF_ENERGYCOAT; 	">},

you can see the SC of each skills in

trunk/db/sc_config.txt

and don't put the SKILL NAME because it has a corresponding SC for each skills always rely on trunk/db/sc_config.txt

 

Energy Coat

SC_ENERGYCOAT

Improve Concentration

SC_CONCENTRATION

for Full Chemical Protection you need to put 1 by 1

 

SC_PROTECTWEAPONSC_PROTECTSHIELDSC_PROTECTARMORSC_PROTECTHELM
Edited by Zhao Chow

Share this post


Link to post
Share on other sites
  • 0

@@minx123

 

here you go

 

{    Id: 30259    AegisName: "Spirit_Of_Blue_Soul"    Name: "Spirit Of Blue Soul"    Type: 5    Buy: 0    Weight: 100    Slots: 1    Loc: 1    Refine: false    View: 1719    Trade: {        notrade: true        noauction: true        nodrop: true        nogstorage: true        nomail: true        noselltonpc: true    }    Script: <"        skill HP_ASSUMPTIO,1;        bonus2 bSubRace,RC_DemiHuman,10;        bonus bLongAtkDef,10;        ">    OnUnequipScript: <" sc_end SC_ASSUMPTIO; ">},

Share this post


Link to post
Share on other sites
  • 0

 

@@minx123

 

here you go

 

{    Id: 30259    AegisName: "Spirit_Of_Blue_Soul"    Name: "Spirit Of Blue Soul"    Type: 5    Buy: 0    Weight: 100    Slots: 1    Loc: 1    Refine: false    View: 1719    Trade: {        notrade: true        noauction: true        nodrop: true        nogstorage: true        nomail: true        noselltonpc: true    }    Script: <"        skill HP_ASSUMPTIO,1;        bonus2 bSubRace,RC_DemiHuman,10;        bonus bLongAtkDef,10;        ">    OnUnequipScript: <" sc_end SC_ASSUMPTIO; ">},

where can i get like this for other custom skill?

 

SC_ASSUMPTIO

Share this post


Link to post
Share on other sites
  • 0

All of these are defined as constants on the db/const.txt file of Hercules, along with a lot of other constants used throughout the scripting engine

thank you for helping..

 

i more problem..

energy coat not gone when i unequip the custom.. why?

@@Zhao Chow

 

this list skill not effect when unequip custom.

 

1-Energy Coat.

 

{	Id: 30260	AegisName: "Spirit_Of_Green_Soul"	Name: "Spirit Of Green Soul"	Type: 5	Buy: 0	Weight: 100	Slots: 1	Loc: 1	Refine: false	View: 1720	Trade: {		notrade: true		noauction: true		nodrop: true		nogstorage: true		nomail: true		noselltonpc: true	}	Script: <"		skill CR_FULLPROTECTION,1;		bonus2 bSubRace,RC_DemiHuman,10;		bonus bNearAtkDef,10;		">	OnUnequipScript: <" 		sc_end EF_CHEMICALPROTECTION; 	">},

 

2-Improve Concentration

 

{	Id: 30262	AegisName: "Spirit_Of_Purple_Soul"	Name: "Spirit Of Purple Soul"	Type: 5	Buy: 0	Weight: 100	Slots: 1	Loc: 1	Refine: false	View: 1722	Trade: {		notrade: true		noauction: true		nodrop: true		nogstorage: true		nomail: true		noselltonpc: true	}	Script: <"		skill AC_CONCENTRATION,1;		bonus bMagicAtkDef,10;		bonus bNearAtkDef,10;	">	OnUnequipScript: <" 		sc_end EF_CONCENTRATION; 	"> 

 

3-Full Chemical Protection

 

{	Id: 30261	AegisName: "Spirit_Of_Orange_Soul"	Name: "Spirit Of Orange Soul"	Type: 5	Buy: 0	Weight: 100	Slots: 1	Loc: 1	Refine: false	View: 1721	Trade: {		notrade: true		noauction: true		nodrop: true		nogstorage: true		nomail: true		noselltonpc: true	}	Script: <"		skill MG_ENERGYCOAT,1;		bonus bMagicAtkDef,10;		bonus bLongAtkDef,10;	">	OnUnequipScript: <" 		sc_end EF_ENERGYCOAT; 	">},
Edited by minx123

Share this post


Link to post
Share on other sites
  • 0

 

 

All of these are defined as constants on the db/const.txt file of Hercules, along with a lot of other constants used throughout the scripting engine

thank you for helping..

 

i more problem..

energy coat not gone when i unequip the custom.. why?

@@Zhao Chow

 

this list skill not effect when unequip custom.

 

1-Energy Coat.

 

{	Id: 30260	AegisName: "Spirit_Of_Green_Soul"	Name: "Spirit Of Green Soul"	Type: 5	Buy: 0	Weight: 100	Slots: 1	Loc: 1	Refine: false	View: 1720	Trade: {		notrade: true		noauction: true		nodrop: true		nogstorage: true		nomail: true		noselltonpc: true	}	Script: <"		skill CR_FULLPROTECTION,1;		bonus2 bSubRace,RC_DemiHuman,10;		bonus bNearAtkDef,10;		">	OnUnequipScript: <" 		sc_end EF_CHEMICALPROTECTION; 	">},

 

2-Improve Concentration

 

{	Id: 30262	AegisName: "Spirit_Of_Purple_Soul"	Name: "Spirit Of Purple Soul"	Type: 5	Buy: 0	Weight: 100	Slots: 1	Loc: 1	Refine: false	View: 1722	Trade: {		notrade: true		noauction: true		nodrop: true		nogstorage: true		nomail: true		noselltonpc: true	}	Script: <"		skill AC_CONCENTRATION,1;		bonus bMagicAtkDef,10;		bonus bNearAtkDef,10;	">	OnUnequipScript: <" 		sc_end EF_CONCENTRATION; 	"> 

 

3-Full Chemical Protection

 

{	Id: 30261	AegisName: "Spirit_Of_Orange_Soul"	Name: "Spirit Of Orange Soul"	Type: 5	Buy: 0	Weight: 100	Slots: 1	Loc: 1	Refine: false	View: 1721	Trade: {		notrade: true		noauction: true		nodrop: true		nogstorage: true		nomail: true		noselltonpc: true	}	Script: <"		skill MG_ENERGYCOAT,1;		bonus bMagicAtkDef,10;		bonus bLongAtkDef,10;	">	OnUnequipScript: <" 		sc_end EF_ENERGYCOAT; 	">},

you can see the SC of each skills in

trunk/db/sc_config.txt

and don't put the SKILL NAME because it has a corresponding SC for each skills always rely on trunk/db/sc_config.txt

 

Energy Coat

SC_ENERGYCOAT

Improve Concentration

SC_CONCENTRATION

for Full Chemical Protection you need to put 1 by 1

 

SC_PROTECTWEAPONSC_PROTECTSHIELDSC_PROTECTARMORSC_PROTECTHELM

 

thank you so much  :no1:

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.