flpneo 1 Posted July 22, 2016 How to create a potion that makes the user with resistance to freezing (or anything else) for a time (1 minute)? Quote Share this post Link to post Share on other sites
0 flpneo 1 Posted July 22, 2016 (edited) 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/7e083f9ae7688b2ee1d98246af0ba60c914d0f88Now 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 July 22, 2016 by flpneo 1 bWolfie reacted to this Quote Share this post Link to post Share on other sites
0 bWolfie 138 Posted July 22, 2016 I'm thinking maybe SC_START but I'm not sure which variable to add to it. Quote Share this post Link to post Share on other sites
0 evilpuncker 503 Posted July 22, 2016 { 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; "> }, Quote Share this post Link to post Share on other sites
How to create a potion that makes the user with resistance to freezing (or anything else) for a time (1 minute)?
Share this post
Link to post
Share on other sites