1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Spell channeling out of craftables ranged weapon

Discussion in 'Script Support' started by Nestea, Jan 10, 2019.

  1. Nestea
    Offline

    Nestea Member

    Joined:
    Dec 25, 2014
    Messages:
    39
    Likes Received:
    1
    Hello, I am trying to remove the Spell channeling property on craftable ranged weapons (bow, crossbow, composite bow...)
    Anyone knows what script i need to modify in order to remove this property? I think all i need is to remove this property on Baserunictool.cs but i am not sure if i need to modify other scripts too

    Code (C#):
    1. case  9: ApplyAttribute( primary,    min, max, AosAttribute.SpellChanneling,                1, 1 ); break;
     
  2. Falkor
    Offline

    Falkor Member

    Joined:
    Apr 11, 2018
    Messages:
    36
    Likes Received:
    4
    Leave the "break;" line in there so you don't have trouble with a missing case statement.

    You could also duplicate one of the other buffs to replace that one so they'll get some kind of bonus on the item.
     
  3. Nestea
    Offline

    Nestea Member

    Joined:
    Dec 25, 2014
    Messages:
    39
    Likes Received:
    1
    Thank you! so, I only need to modify this script, right?
     
  4. Falkor
    Offline

    Falkor Member

    Joined:
    Apr 11, 2018
    Messages:
    36
    Likes Received:
    4
    That looks like the only place you need to edit. I took a quick look at a few loot-related files and don't see any chances for spell channeling there but you may want to go behind me just to be sure.
     
  5. Nestea
    Offline

    Nestea Member

    Joined:
    Dec 25, 2014
    Messages:
    39
    Likes Received:
    1
    Thank you very much! I tried to make some modify and i think it will works :)
     
Similar Threads: Spell channeling
Forum Title Date
Archived Bug Reports Spell Channeling weapon bug Aug 31, 2018
Archived Bug Reports Enchant/Spell Channeling problem with throwing weapons Jan 31, 2017
Archived Bug Reports Spell channeling on shield affects weapon too Jan 14, 2017
Archived Bug Reports Imbuing: Spell Channeling and Faster Casting May 20, 2016
Bug Reports Discord spell needs revamp for PVP (TOL+) Mar 13, 2019
Script Support Spellbook casts only equipped how set it - medit in mov Mar 11, 2019
Script Support Spell Weaving Jan 28, 2019