Hi there,
First of all: glad to see how good TC is going nowdays, thank you contributors!
I got 2 questions:
1) Where are Player_Stats_Per_Level defined? Which C++ formula/DBC/SQL defines of how much health per level does the player have? I'm looking forward for the way to set it to be STATIC.
2) Smart_Scripts -> SMART_ACTION_ADD_POWER (and few more) has "PowerType" as an action_param1
I found this in SharedDefines.h: (and I suggest you to put it in here: https://trinitycore.atlassian.net/wiki/spaces/tc/pages/2130108/smart+scripts)
POWER_MANA = 0,
POWER_RAGE = 1,
POWER_FOCUS = 2,
POWER_ENERGY = 3,
POWER_UNUSED = 4,
POWER_RUNE = 5,
POWER_RUNIC_POWER = 6,
POWER_SOUL_SHARDS = 7,
POWER_ECLIPSE = 8,
POWER_HOLY_POWER = 9,
POWER_ALTERNATE_POWER = 10, // Used in some quests
MAX_POWERS = 11,
POWER_ALL = 127, // default for class?
POWER_HEALTH = 0xFFFFFFFE // (-2 as signed value)
What can I do to mod HEALTH with this, since I cannot use negative values or "0xFFFFFFFE" in DB collumn ? SmartAI works well with MANA etc. - tested.