Jump to content
  • 0
Sign in to follow this  
flpneo

Effect for a time

Question

3 answers to this question

Recommended Posts

  • 0

I want resistance to freeze effect, not to damage.

Petrification, silence, curse, stun...

If it helps someone with the same problem ...
I decided to add the "SC_ITEMSCRIPT" as this commit:

https://github.com/HerculesWS/Hercules/commit/7e083f9ae7688b2ee1d98246af0ba60c914d0f88

Now I can enter the command on my item:
sc_start SC_ITEMSCRIPT, 60000, 4105;

Executes the effect of Marc card during the time I set.

Edited by flpneo

Share this post


Link to post
Share on other sites
  • 0


{

Id: 12118

AegisName: "Resist_Fire"

Name: "Fireproof Potion"

Type: 2

Buy: 2

Weight: 10

BuyingStore: true

Script: <" sc_start4 SC_ARMORPROPERTY,1200000,-15,0,20,0; ">

},

{

Id: 12119

AegisName: "Resist_Water"

Name: "Coldproof Potion"

Type: 2

Buy: 2

Weight: 10

BuyingStore: true

Script: <" sc_start4 SC_ARMORPROPERTY,1200000,20,0,0,-15; ">

},

{

Id: 12120

AegisName: "Resist_Earth"

Name: "Earthproof Potion"

Type: 2

Buy: 2

Weight: 10

BuyingStore: true

Script: <" sc_start4 SC_ARMORPROPERTY,1200000,0,20,-15,0; ">

},

{

Id: 12121

AegisName: "Resist_Wind"

Name: "Thunderproof Potion"

Type: 2

Buy: 2

Weight: 10

BuyingStore: true

Script: <" sc_start4 SC_ARMORPROPERTY,1200000,0,-15,0,20; ">

},

{

Id: 12279

AegisName: "Undead_Element_Scroll"

Name: "Undead Elemental Scroll"

Type: 2

Weight: 10

Script: <" sc_start4 SC_ARMOR_RESIST,300000,20,20,20,20; ">

},

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

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