Halp! Tiny Addon for Adventurers with Exotic Weapons

A place to post your add ons and ideas for them

Moderator: Moderator

Post Reply
Message
Author
astralInferno
Uruivellas
Posts: 834
Joined: Mon Jan 27, 2014 10:40 am

Halp! Tiny Addon for Adventurers with Exotic Weapons

#1 Post by astralInferno »

Hi. I've never done... anything code-related before, but the tome wiki made it look fairly simple, and I think this would only require one or two lines.
I have a build or two I want to try focussing on exotic weapons. THis would be fairly simple for an adventurer, but it means I have to get lucky and get a warrior escort in the first few dungeons. I was wondering if I could set Exotic Weapons Mastery to be purchaseable like a normal talent. Does anyone know how that would be done? I asked a friend who kinda knows code, but he isn't sure how that talent is set to work.

Crim, The Red Thunder
Sher'Tul Godslayer
Posts: 2000
Joined: Fri May 07, 2004 8:26 pm
Location: Nahgharash

Re: Halp! Tiny Addon for Adventurers with Exotic Weapons

#2 Post by Crim, The Red Thunder »

The talent is part of the basic combat training tree, but set to be hidden by default. Warrior escorts make it appear, so in theory, you could (at the least) make a shop that sold exotic weapon training.

Unhiding the skill would also be doable, by directly editing the tree, so it's always visible.

Forcing it to only do so for adventurer would be a little more complex.

If you go with the second route, it would be as simple as overloading one file (data/talents/combat-training.lua, or whatever it's called) and changing a single line or two.
Currently playing under the name Aura of the Dawn 4 down, 227 to go!
Proud author of Orc Pit Restoration Project, Faction Allies, Dwarven Adventurer addons
SadistSquirrel wrote:DarkGod has two arms, one with an opened hand, one with a closed fist. You got the fist.

Doctornull
Sher'Tul Godslayer
Posts: 2402
Joined: Tue Jun 18, 2013 10:46 pm
Location: Ambush!

Re: Halp! Tiny Addon for Adventurers with Exotic Weapons

#3 Post by Doctornull »

If you use Nulltweaks, then you'll get Exotic weapons split out into two talents (and grouped with other weapons). These two talents are NOT hidden.

If you want to make an addon which just exposes Exotic Weapons Mastery, all you have to do is set "hide=false" for that talent in the appropriate superload area.

I would recommend against overloading unless this addon is for your own personal use only :)
Check out my addons: Nullpack (classes), Null Tweaks (items & talents), and New Gems fork.

Post Reply