Jump to content

Combopoints


Guest kelthuzad

Recommended Posts

Hi community,

I'm trying to fix spell 56092 http://www.wowhead.com/spell=56092 that is castet by players on a vehicle in the eye of eternity boss malygos fight.

This spell applies an aura with a duration that is dependent from the combopoints of the player-in-vehicle on malygos.

My problem is now that I don't know how to get the combopoints the player has on malygos.

caster->GetVehicleKit()->GetPassenger(0)->getComboPoints() always returns 0

Can you maybe give me a hint where the combopoints of players on their current victim are stored in the mangos-core?

Edit:

I think I did this wrong maybe.

When do combopoints get removed when a spell is successfully casted? Before or after Effects are handled?

Also, why does this spell seem to work (its duration is longer the more combopoints one has) http://www.wowhead.com/spell=57108 but this does not http://www.wowhead.com/spell=56092

Link to comment
Share on other sites

cobopoints removed at success spell cast finish: Spell::finish (also used in Spell::CheckCast)

This has been discussed sometime ago and planned way implement shas been suggested:

remove and use cobopoints for m_caster->GetCharmerOrOwnerPlayerOrPlayerItself()

because non-players not have combopoints. But not has been realy implemented because lack possibility test without vehicles in normal way.

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use