Adding Skillchain Elements to Blood Pacts

Post Reply
bluesolarflare
Posts: 127
Joined: Wed May 27, 2015 4:23 pm

Adding Skillchain Elements to Blood Pacts

Post by bluesolarflare » Tue Oct 20, 2015 12:13 pm

I wanted to find out if this is even possible yet? There appears to be a way to add it to mobs to pull weaponskill elements but I wanted to see if something similar can be done for Blood Pacts.

Thanks.

bluesolarflare
Posts: 127
Joined: Wed May 27, 2015 4:23 pm

Re: Adding Skillchain Elements to Blood Pacts

Post by bluesolarflare » Tue Oct 20, 2015 12:45 pm

Edit: lol nevermind resolved it myself

I copied a few lines 1093 thru 1132 from ai_mob_dummy.cpp and copied them over to ai_pet_dummy around line 552 and changed the value of m_PMob to m_PPet. Now I am able to set skillchain properties to pull weaponskill element properties from current weaponskills in the pet ability lua. For example:

adding the code:

Code: Select all

skill:setSkillchain(13);
In a pet ability will use the skillchain elements of Tornado Kick.

Post Reply