![]() |
I need a little help here - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: General Help (/Forum-General-Help) +--- Thread: I need a little help here (/Thread-I-need-a-little-help-here) |
I need a little help here - jexnico - 02-18-2016 05:19 AM I was doing some tests on my server and I realized that my character is not releasing a hand gun when you release a spell, as I do for the character to take the items that are fitted in your hand to cast a spell? RE: I need a little help here - karma - 02-18-2016 05:49 AM I have not understood the question, but if you want to unequip weapons upon spell casting you can do: Code: ON=@SpellCast RE: I need a little help here - Kanibal - 02-18-2016 06:04 AM Sphere.ini Code: // Allow casting while equipped RE: I need a little help here - jexnico - 02-18-2016 06:30 AM (02-18-2016 06:04 AM)Kanibal Wrote: Sphere.ini My EquippedCast its already set to 1 :c RE: I need a little help here - Kanibal - 02-18-2016 06:38 AM (02-18-2016 06:30 AM)jexnico Wrote: My EquippedCast its already set to 1 :c0 // Disallow 1 // Allow I have a function. May be it will be useful for you. Spoiler (Click to View) RE: I need a little help here - jexnico - 02-18-2016 06:48 AM (02-18-2016 06:38 AM)Kanibal Wrote:(02-18-2016 06:30 AM)jexnico Wrote: My EquippedCast its already set to 1 :c0 // Disallow I got it, ty all for answre my question ![]() RE: I need a little help here - Khaos - 02-18-2016 06:53 AM Code: EquippedCast=0 Will fix the issue. If you plan to use spellchanneling=1 through in items, you want to set it to 1. Then use this: Code: on=@SpellCast This would simulate accurate spell channeling code. All spell books are/should be spell channeling by default (hidden property). edit: added in parsing to check for the character having spellchanneling=1. This could be used to make it so a custom assignment would override needing spellchanneling on the item. So good to be back. ^_^ |