minx123 2 Posted July 18, 2015 (edited) 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 July 18, 2015 by minx123 Quote Share this post Link to post Share on other sites
0 Kuya Jeo 120 Posted July 18, 2015 (edited) 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 July 18, 2015 by Zhao Chow 1 minx123 reacted to this Quote Share this post Link to post Share on other sites
0 Kuya Jeo 120 Posted July 18, 2015 @@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; ">}, 1 minx123 reacted to this Quote Share this post Link to post Share on other sites
0 minx123 2 Posted July 18, 2015 @@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 Quote Share this post Link to post Share on other sites
0 jaBote 438 Posted July 18, 2015 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. 1 minx123 reacted to this Quote Share this post Link to post Share on other sites
0 minx123 2 Posted July 18, 2015 (edited) 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 July 18, 2015 by minx123 Quote Share this post Link to post Share on other sites
0 minx123 2 Posted July 18, 2015 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 Quote Share this post Link to post Share on other sites
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..
Share this post
Link to post
Share on other sites