This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: Combopoints (trinity 3.3.5)  (Read 2112 times)

znailla

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 14
    • View Profile
Combopoints (trinity 3.3.5)
« on: July 23, 2012, 06:06:33 pm »
Hi,

is it possible to add combopoints to a mage or other classes?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Ascathos

  • Moderators
  • Creator of Worlds
  • *****
  • Posts: 1129
    • View Profile
Re: Combopoints (trinity 3.3.5)
« Reply #1 on: July 23, 2012, 06:10:19 pm »
Quote from: "znailla"
Hi,

is it possible to add combopoints to a mage or other classes?
ChrClasses.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

znailla

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 14
    • View Profile
Re: Combopoints (trinity 3.3.5)
« Reply #2 on: July 23, 2012, 06:22:42 pm »
in ChrClasses.dbc i can only change
Mana, Rage, Focus, Energy, Happiness and Runes...
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Ascathos

  • Moderators
  • Creator of Worlds
  • *****
  • Posts: 1129
    • View Profile
Re: Combopoints (trinity 3.3.5)
« Reply #3 on: July 23, 2012, 06:26:29 pm »
Quote from: "znailla"
in ChrClasses.dbc i can only change
Mana, Rage, Focus, Energy, Happiness and Runes...
You require Energy for the abilities and if I recall correctly, you gain combo points for casting the ability. At least, that were some tests I did.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Morfium

  • Registred Member
  • Loreweaver
  • *****
  • Posts: 96
    • View Profile
Re: Combopoints (trinity 3.3.5)
« Reply #4 on: July 23, 2012, 07:27:11 pm »
Spells require combo points in the AttributesEx column.
ee the Wiki for this.
In my mangos core (which is quite old...) the flags for combopoints are:
Code: [Select]
SPELL_ATTR_EX_REQ_TARGET_COMBO_POINTS = 0x00100000
and
Code: [Select]
SPELL_ATTR_EX_REQ_COMBO_POINTS = 0x00400000
You have to set them for your Spell.

In a comment in the server source it's indicated that warriors use combopoints, while not shown ingame, to indicate whether or not to be able to cast overpower. I'm not sure if that is a hackish piece of code (but since mangos doesn't usually use hackish code I doubt it) or not.

So I think you can add the combopoint flags to a mana spell and then may need some server side modifications and it should work. For client side display of the points I think you'll have to make some ui changes.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »