how to make skill will gone when upequip custom

minx123

New member
Messages
283
Points
0
Github
minx123
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..

Code:
{    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;        ">},
 
Last edited by a moderator:
@@minx123

here you go

Code:
{    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; ">},
 
@@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?

Code:
SC_ASSUMPTIO
 
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.

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

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

Code:
SC_PROTECTWEAPONSC_PROTECTSHIELDSC_PROTECTARMORSC_PROTECTHELM
 
Last edited by a moderator:
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 
default_no1.gif


 
Back
Top