Style order in npctemplate?

Discussions on various DOL development features

Moderator: Support Team

Re: Style order in npctemplate?

Postby ontheDOL » Mon Mar 06, 2017 5:35 pm

Are you putting the custom spell id in linexspell table as well? I think I had same problem a while back and this was the problem. Windmill 20400 id is in there under combat style effects
- Unty -
Model Showroom and DOL guides
http://losojos-001-site1.btempurl.com
User avatar
ontheDOL
Developer
 
Posts: 311
Joined: Fri May 20, 2016 4:21 am
Location: Australian abroad

Re: Style order in npctemplate?

Postby tegstewart » Mon Mar 06, 2017 5:50 pm

Yup. If I assign the spellid 20400 to my custom style, it works. If I make an identical spell using a different spellid, and put that in stylexspell, it doesn't work.

I tried it with the holy staff heal effect as well, with the same result.
tegstewart
Developer
 
Posts: 102
Joined: Sun Dec 13, 2009 11:46 pm

Re: Style order in npctemplate?

Postby ontheDOL » Mon Mar 06, 2017 6:02 pm

there's a table stylexspell, and a table linexspell, im talking about adding it to linexspell. Lookup 20400 in "linexspell" and add your spell id to the combat style effects line
- Unty -
Model Showroom and DOL guides
http://losojos-001-site1.btempurl.com
User avatar
ontheDOL
Developer
 
Posts: 311
Joined: Fri May 20, 2016 4:21 am
Location: Australian abroad

Re: Style order in npctemplate?

Postby tegstewart » Mon Mar 06, 2017 7:26 pm

I didn't know that was a thing. I bet you're right, but won't have a chance to check for a bit.

Thanks!
tegstewart
Developer
 
Posts: 102
Joined: Sun Dec 13, 2009 11:46 pm

Re: Style order in npctemplate?

Postby tegstewart » Mon Mar 06, 2017 9:27 pm

That was indeed the problem. Awesome!

Thank you!
tegstewart
Developer
 
Posts: 102
Joined: Sun Dec 13, 2009 11:46 pm


Return to “%s” DOL Development Discussion

Who is online

Users browsing this forum: No registered users and 1 guest