darkstar icon indicating copy to clipboard operation
darkstar copied to clipboard

Trust: changed way to generate the list of trust.

Open Omnione opened this issue 6 years ago • 5 comments

Trust: This creates vector list of trust id's and query's the id's then generates a new g_PTrustList. just like the g_PPetlist, that can iterated through using the trustID so you can call the trust using the spellid rather than the old way of adding a massive amount of magic numbers in pet_list.sql or somthing like that.

The only real logic that i changed was the order of adding trust to the list of spawned trust so they follow each other from first spawned onwards down the list.

fixed some heap errors due to the tick still running after despawn.

No combat changes or stat changes have been made, you still can't cast on trust and trust wont cast or perform weapon skills/abilities either.

Omnione avatar Jan 05 '20 11:01 Omnione

man i keep forgetting to change the title, lol

Omnione avatar Jan 05 '20 11:01 Omnione

wtf, this builds fine for me, hmm

Omnione avatar Jan 05 '20 12:01 Omnione

Ok 3rd time lucky

Omnione avatar Jan 05 '20 13:01 Omnione

If this last commit dont work can somone else take a look and find out what the hell im doing wrong please

Omnione avatar Jan 05 '20 14:01 Omnione

I have added the addition of a global trust.lua just incase we need it later on for something and made all the trust scripts require it. and fixed the fact i left out the changes to LoadTrustlist in map.ccp

Omnione avatar Jan 05 '20 22:01 Omnione