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: where is playercreateinfo spell ?  (Read 1190 times)

Lawes

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 157
    • View Profile
where is playercreateinfo spell ?
« on: November 01, 2016, 08:41:55 pm »
where is playercreateinfo spell ?

i dont see him anymore in trinitycore database
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Amaroth

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 1219
    • View Profile
    • Amaroth's Tools
Re: where is playercreateinfo spell ?
« Reply #1 on: November 01, 2016, 09:26:14 pm »
Its no longer used. It seems data from SkillLineAbilitty.dbc is being used instead.

If you want to just add some spells players are going to know, set:
PlayerStart.AllSpells = 1
In worldserver.conf, and then use playercreateinfo_spell_custom table (which will start being used by setting that variable I mentioned to 1).

If you want to remove some spells from list of spells players get when their characters are logged in, try editing DBC I mentioned earlier.:

https://wowdev.wiki/DB/SkillLineAbility
Pay attention to field #10: acquireMethod. Spells with on log in learn should have value 2 there. Set it to 0 if you want players to not have some particular spell in that spell's row. Note that spell's ID is in field #3, not in field #1.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
English YT tutorial channel. Check it out if you preffer videos over walls of text.:
https://www.youtube.com/AmarothEng

Want to support me for my releases and/or tutorials? You can send donation via Paypal to:
jantoms@seznam.cz

Lawes

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 157
    • View Profile
Re: where is playercreateinfo spell ?
« Reply #2 on: November 01, 2016, 09:55:54 pm »
thxfull!
« Last Edit: January 01, 1970, 01:00:00 am by Admin »